Cleanup deadcode in Rendering

This patch removes the following deadcode in rendering:
RenderMenuList::listBoxSelectItem
HTMLSelectElement::listBoxSelectItem
RenderBlock::pageLogicalTopForOffset
RenderFlowThread::pageLogicalTopForOffset
RenderImage::highQualityRepaintTimerFired
RenderListMarker::suffix
RenderRegion::logicalTopOfFlowThreadContentRect
RenderRegion::logicalBottomOfFlowThreadContentRect
RenderRegion::logicalTopForFlowThreadContent
RenderRegion::logicalBottomForFlowThreadContent

Review URL: https://codereview.chromium.org/442543002

git-svn-id: svn://svn.chromium.org/blink/trunk@179521 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Mark media/video tests as rebaseline/failing for enabling compositing.

We ship composited video to our users but layout tests still turn it
off. These tests fail or need rebaseline when it is turned on.

TBR=ojan@chromium.org, scherkus@chromium.org
BUG=365857, 400829, 400841

Review URL: https://codereview.chromium.org/441043002

git-svn-id: svn://svn.chromium.org/blink/trunk@179522 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Check parent frame's mixed content policy when loading iframe.

Currently, we're only checking the top frame. We should check the parent
frame as well (and, really, we should be walking the whole ancestor, but
baby steps).

BUG=400087

Review URL: https://codereview.chromium.org/433163004

git-svn-id: svn://svn.chromium.org/blink/trunk@179523 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Hashless hex color quirk for color/background/border only.

According to the quirks mode spec[1], the hashless hex color quirk only
applies to a few properties including color, background-color (not from
short-hand), and various border-color properties.

This aligns the Blink implementation with Gecko and the spec.

The duplicated code and early break is there to avoid regressions in blink
performance tests (there were cases in the CSS and SVG directories that
detected regressions locally).

[1] http://quirks.spec.whatwg.org/#the-hashless-hex-color-quirk

BUG=391343

Review URL: https://codereview.chromium.org/373603004

git-svn-id: svn://svn.chromium.org/blink/trunk@179524 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use tighter typing in editing: SimplifyMarkupCommand & TextIterator

Use tighter typing in editing to increase code readability. This CL focuses
on SimplifyMarkupCommand and TextIterator.

R=yosin@chromium.org, leviw@chromium.org

Review URL: https://codereview.chromium.org/443433003

git-svn-id: svn://svn.chromium.org/blink/trunk@179525 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make Element::attributes() less error-prone and simplify call sites

Make Element::attributes() less error-prone by:
- Having it return an empty AttributeCollection if ElementData() is null
  so that the callers no longer have to call hasAttributes() to know if
  they can call Element::attributes().
- Call synchronizeAllAttributes() in attributes() as callers no longer
  have to call hasAttributes() before calling attributes().

This CL also adds an Element::attributesWithoutUpdate() getter for call
sites where we do not want to synchronize all attributes (e.g. no attribute
synchronization or single attribute synchronization).

This CL also drops the Element::hasAttributesWithoutUpdate() as there are no
remaining callers.

This simplifies the call sites and makes Element::attributes() less error
prone.

R=esprehn@chromium.org, adamk@chromium.org

Review URL: https://codereview.chromium.org/436603003

git-svn-id: svn://svn.chromium.org/blink/trunk@179526 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use tighter typing in editing: VisiblePosition & VisibleSelection

Use tighter typing in editing/ to increase code readability. This CL focuses
on VisiblePosition and VisibleSelection.

R=yosin@chromium.org, leviw@chromium.org

Review URL: https://codereview.chromium.org/434393003

git-svn-id: svn://svn.chromium.org/blink/trunk@179527 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[SVG] Promote PathOpsSVGClipping to stable.

The feature has been in experimental state for more than a month with
no known issues.

BUG=263911
R=schenney@chromium.org, fs@opera.com, pdr@chromium.org

Review URL: https://codereview.chromium.org/446583002

git-svn-id: svn://svn.chromium.org/blink/trunk@179529 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fixing the case where mixed content checking for insecure form submission in secure origins is breaking when using invisible DOMs.

An invisible DOM (i.e. DOM without a frame) causes the mixed content checking for insecure form submission to crash the current tab. This is because the DOM is not associated with any frame.

A follow up bug (https://crbug/39981) was filed to address another corner case where mixed content checking can be bypassed when you replace the current DOM with this invisible DOM.

BUG=398066
R=jww
NOTRY=true

Review URL: https://codereview.chromium.org/431273006

git-svn-id: svn://svn.chromium.org/blink/trunk@179530 bbb929c8-8fbe-4397-9dbb-9b2b20218538