summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/rendering
Commit message (Collapse)AuthorAgeFilesLines
* Merge changes Icc964ad0,Ib21562da,I87cfd2aa,I2d4208a2Steve Block2012-04-131-5/+18
|\ | | | | | | | | | | | | | | * changes: Cherry-pick WebKit change r107627 to fix a LayoutTest crash Cherry-pick WebKit change r94541 as a prerequisite for r107627 Cherry-pick WebKit change r88854 as a prerequisite for r107627 Cherry-pick WebKit change r106251 to fix a LayoutTest crash
| * Cherry-pick WebKit change r107627 to fix a LayoutTest crashSteve Block2012-04-121-16/+15
| | | | | | | | | | | | | | | | | | LayoutTests/fast/multicol/span/split-flow-anonymous-wrapper-crash.html See http://trac.webkit.org/changeset/107627 Bug: 6328992 Change-Id: Icc964ad0a6eb967f56fc298577a3b4515e81e886
| * Cherry-pick WebKit change r94541 as a prerequisite for r107627Steve Block2012-04-121-1/+15
| | | | | | | | | | | | | | See http://trac.webkit.org/changeset/94541 Bug: 6328992 Change-Id: Ib21562da28126db4d1c2898af818f8f5569236e0
| * Cherry-pick WebKit change r88854 as a prerequisite for r107627Steve Block2012-04-121-1/+1
| | | | | | | | | | | | | | See http://trac.webkit.org/changeset/88854 Bug: 6328992 Change-Id: I87cfd2aa0d76dec9b511067ba150db700d297a63
* | Merge changes Ia48c7e50,I02da7a9fSteve Block2012-04-132-2/+10
|\ \ | |/ | | | | | | | | * changes: Cherry-pick WebKit change r105769 to fix a LayoutTest crash Add RenderObject::isBeforeOrAfterContent() from r94543 as a prerequisite for r105769
| * Cherry-pick WebKit change r105769 to fix a LayoutTest crashSteve Block2012-04-121-2/+4
| | | | | | | | | | | | | | | | | | fast/multicol/clone-block-children-inline-mismatch-crash.html See http://trac.webkit.org/changeset/105769 Bug: 6329129 Change-Id: Ia48c7e50adb7de3fc1e897a0de90b62a1ca63786
| * Add RenderObject::isBeforeOrAfterContent() from r94543 as a prerequisite for ↵Steve Block2012-04-121-0/+6
| | | | | | | | | | | | | | | | | | r105769 See http://trac.webkit.org/changeset/94543 Bug: 6329129 Change-Id: I02da7a9f891a6eec394398529f64b0992cbfce70
* | Merge "Cherry-pick WebKit change r99731 to fix a LayoutTest crash"Steve Block2012-04-131-0/+4
|\ \ | |/
| * Cherry-pick WebKit change r99731 to fix a LayoutTest crashSteve Block2012-04-121-0/+4
| | | | | | | | | | | | | | | | | | svg/foreignObject/absolute-position-foreign-object-child-crash.html See http://trac.webkit.org/changeset/99731 Bug: 6329122 Change-Id: Ibee43b565d69507c4abace7e1ab298c660de137f
* | Merge changes I0cee4daa,If526b331Steve Block2012-04-131-249/+182
|\ \ | |/ | | | | | | | | * changes: Cherry-pick WebKit change r90568 to fix LayoutTest crashes Cherry-pick WebKit change r86098 as a prerequisite for r90568
| * Cherry-pick WebKit change r90568 to fix LayoutTest crashesSteve Block2012-04-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | fast/flexbox/crash-button-input-autofocus.html fast/flexbox/crash-button-keygen.html fast/flexbox/crash-button-relayout.html Patch manually applied due to file rename. See http://trac.webkit.org/changeset/90568 Bug: 6328974 Change-Id: I0cee4daaea2e6fa2b9fae7d7dd81b4541561e969
| * Cherry-pick WebKit change r86098 as a prerequisite for r90568Steve Block2012-04-121-249/+182
| | | | | | | | | | | | | | See http://trac.webkit.org/changeset/86098 Bug: 6328974 Change-Id: If526b33142144f1ed466325898f9177adf27e6ee
* | Add support for HTML Media Capture "capture" attribute.Ben Murdoch2012-04-132-0/+10
|/ | | | | | | | | | | | | | | | | | | | Add support in WebKit for the newly specified "capture" attribute to be used on HTML file pickers. Maintains support for the legacy implementation of the API (a MIME type parameter on the 'accept' attribute) for backwards compatibility. Note the 'capture' attribute takes precedent over a MIME type parameter. See http://www.w3.org/TR/html-media-capture/#captureparam for details. Requires changes in the framework (I494adc1274ca21ce8fe52a6c7b6b758217927e66) and Browser (I38dfe2df043fdba1388384dbd3b5370737eb38e5). Bug: 5771207 Change-Id: I0a921be31fda79a43c05da4fe22d9c808d92709c
* Merge "Cherry-pick WebKit change r91386 to fix a rendering crash"Steve Block2012-04-122-1/+3
|\
| * Cherry-pick WebKit change r91386 to fix a rendering crashSteve Block2012-04-102-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that the use of RenderObject::isDeprecatedFlexibleBox() in the patch had to be changed to RenderObject::isFlexibleBox(). This method was renamed in http://trac.webkit.org/changeset/90773, which is not in Android's version of WebKit. The LayoutTest added in r91386 no longer crashes. See http://trac.webkit.org/changeset/91386 Bug: 5492762 Change-Id: Id43e55e89b4f107285b33c1a2c37a634cf10aad7
* | Merge "Cherry-pick WebKit change r90068 to fix a rendering crash"Steve Block2012-04-124-1/+15
|\ \
| * | Cherry-pick WebKit change r90068 to fix a rendering crashSteve Block2012-04-104-1/+15
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that this change does not apply cleanly in RenderBlock::destroy() without r85869. r85869 was intended to be an optimization only, with no functional change. However, it introduced two crashes, one of which is fixed in r90068 and the other in r86060. To avoid the need to cherry-pick both r85869 and r86060 as prerequisites, the patch for r90068 was applied manually to give the correct end result in RenderBlock::destroy(). We now pass the LayoutTests added in r90068 and the LayoutTest added in r86060 does not crash. See http://trac.webkit.org/changeset/90068 Bug: 5496903 Change-Id: Ica6dc2c70a4cd5c781ae77df95a8a4033c097708
* | Temporary workaround to fix a bug on google.comNicolas Roard2012-04-061-1/+3
|/ | | | Change-Id: Ie03798396ed7df6fea6cb2ae7e1f7ae327409139
* Fix scrolling on sites that use <frame>sMangesh Ghiware2012-03-191-4/+12
| | | | | | | | | | | Update the dimensions of a frame before expanding it to fit the content width and height. Also, force a relayout of the frame as necessary to sync the correct dimensions (i.e. when navigation occurs inside the frame) Bug: 5978268 Change-Id: Ia282d6e5753fd38b32854e01ca58fa41b3814b21
* Fix layers ordering issue with Absolute positioned elementsNicolas Roard2012-03-132-49/+60
| | | | | | | | | - Promote absolute positioned elements to be composited - Reorder the elements as needed in LayerAndroid - Simplify fixed elements composition culling (don't do it anymore, we just promote everything and let the Layers sort things out) Change-Id: If76cf76a92410dec7e305a1a70c660d8597e399a
* UI-side layer mergingChris Craik2012-03-072-1/+15
| | | | | | | | Merge multiple painted layers into a LayerGroup to share a dualTiledTexture see LayerAndroid::canJoinGroup() for merging rules Change-Id: I5f5b156894c3743825f570b47d34e905d74de10a
* am 797ef404: am c892a72d: am 538b01d6: Cherry-pick WebKit r100677 to fix a ↵Steve Block2012-02-281-8/+13
|\ | | | | | | | | | | | | rendering crash * commit '797ef40436bbd0876936c82037ce7aa8d520933d': Cherry-pick WebKit r100677 to fix a rendering crash
| * Cherry-pick WebKit r100677 to fix a rendering crashSteve Block2012-02-281-8/+13
| | | | | | | | | | | | | | | | This fixes a crash from positioned generated content under run-in. See http://trac.webkit.org/changeset/100677. Bug: 6079158 Change-Id: I3d2012c58f47e71ae500e33551dfab5587b84534
* | Merge "Merge webkit change to reveal last character in password."George Mount2012-02-282-3/+77
|\ \
| * | Merge webkit change to reveal last character in password.George Mount2012-02-282-3/+77
| | | | | | | | | | | | | | | | | | | | | | | | Bug 6083915 cherry pick of webkit 93656 http://trac.webkit.org/changeset/93656 Change-Id: I1f979a3b2b9916736f3785ab2d5998b958b55cd2
* | | Merge "Fix iframe webkit positioning"Nicolas Roard2012-02-271-3/+19
|\ \ \ | |/ / |/| |
| * | Fix iframe webkit positioningNicolas Roard2012-02-271-3/+19
| | | | | | | | | | | | Change-Id: I7b2b3a7312c89bc505d7f629380df0d3f24eee5f
* | | draw inactive find-on-page matches as outlinesVictoria Lease2012-02-231-0/+4
| | | | | | | | | | | | Change-Id: Iacbeba1fb4e3c63f8f40c61c8b641c0b6c704cad
* | | Fix overflow clipping of images in auto-fit mode.Mangesh Ghiware2012-02-231-0/+4
|/ / | | | | | | | | | | | | | | | | | | In auto-fit mode, text is wrapped based on screen width. However, if overflow isn't visible for the content box, and it includes block elements, they may get clipped. Disable overflow clipping in this scenario. Bug: 6034321 Change-Id: I1e274df3b5698fb4142e2f0ae4c68578e26d2af4
* | Move Canvas elements to their own composited layerNicolas Roard2012-02-212-0/+11
| | | | | | | | | | | | | | | | | | This drastically improves performances, as invalidating a canvas will only touch that one layer instead of (possibly) invalidating the entire PictureSet. bug:5247823 Change-Id: Iec4de74d25e58e63f0198bbd7558c461d9a11cfd
* | Merge "Reduce the number of the composited layers."Chris Craik2012-01-251-1/+13
|\ \
| * | Reduce the number of the composited layers.Chris Craik2012-01-121-1/+13
| | | | | | | | | | | | | | | bug:5660814 Change-Id: I2205ba44c33cb7424fcd7f18648bd20d8ced07e8
* | | Remove ANDROID_CSS_RINGJohn Reck2012-01-183-84/+0
| | | | | | | | | | | | Change-Id: I7395a5f17b0ccfe8dafcc97fa3ab8897676608e9
* | | am 03eb7752: am 3c049d2a: Prevent infinite loop when turning on then off ↵Nicolas Roard2012-01-131-0/+14
|\ \ \ | |/ / |/| / | |/ | | | | | | composited mode * commit '03eb77527d30a22d267944a86c9336351d6020b5': Prevent infinite loop when turning on then off composited mode
| * Prevent infinite loop when turning on then off composited modeNicolas Roard2012-01-121-0/+14
| | | | | | | | | | bug:5820635 Change-Id: I24b6eae6c76c29e44106b4ec87e74d945aad7b1b
* | fix layer scrollingMichael Kolb2011-12-161-0/+3
| | | | | | | | | | | | | | | | | | Bug: 5774119 Add support for layer scrolling; also fixes the scrollTop demo referenced in bug: 5748199 Change-Id: Id04a3d52bb1e75e9ee24a4f1b8aa9b0334369ba1
* | am f912aaa3: am 599c05f3: Merge "Revert "Put canvas on a layer"" into ics-mr1John Reck2011-12-132-7/+1
|\ \ | |/ | | | | | | * commit 'f912aaa3c8084eccb0f5fcb74606063d9ce5c74b': Revert "Put canvas on a layer"
| * Merge "Revert "Put canvas on a layer"" into ics-mr1John Reck2011-12-132-7/+1
| |\
| | * Revert "Put canvas on a layer"John Reck2011-12-132-7/+1
| | | | | | | | | | | | Bug: 5712065 This reverts commit 35e0b8dd7902e92f50ede4df2e4bad4ed581b770
* | | Fix the repaint inval mechanism for layers - cherry-pick from MR1Nicolas Roard2011-12-091-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We only keep the scrollable layers invalidating their entire area instead of incurring this penalty for *all* layers. Also remove unnecessary repaint when scrolling (we have the entire content on the UI side already). While the entire scrollable area will be invalidated and marked as dirty, the existing code in PaintedSurface already only look at the visible tiles of scrollable layers to consider the layer's content as being ready to display, so the real world penalty (while far from optimal) is limited. Implementing the correct approach (only invalidating what really changed on scrollable layers) would sadly be a lot more complex, as currently webkit will *not* send us the repaint invals if they are on a currently clipped area, as webkit's default behaviour to implement scrolling of such element is to repaint them anyway... bug:5721618 Change-Id: I9af240d5f42f00f9ab07710e43ef8d72dfaf8155
* | | am e50c6da1: Merge "Revert change that caused text in floating divs to not ↵Mangesh Ghiware2011-12-071-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | reflow." into ics-mr1 * commit 'e50c6da15806ff91b5e9298cb303f2b8f9ae6b35': Revert change that caused text in floating divs to not reflow.
| * | Merge "Revert change that caused text in floating divs to not reflow." into ↵Mangesh Ghiware2011-12-071-1/+1
| |\ \ | | | | | | | | | | | | ics-mr1
| | * | Revert change that caused text in floating divs to not reflow.Mangesh Ghiware2011-12-071-1/+1
| | | | | | | | | | | | | | | | | | | | Bug: 5455817 (Text reflow not working in browser) Change-Id: I2a62a7fb4c7acde640cd87b8d0f03200b8f7fc2f
| * | | Fix the repaint inval mechanism for layers - DO NOT MERGENicolas Roard2011-12-071-0/+7
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We only keep the scrollable layers invalidating their entire area instead of incurring this penalty for *all* layers. Also remove unnecessary repaint when scrolling (we have the entire content on the UI side already). While the entire scrollable area will be invalidated and marked as dirty, the existing code in PaintedSurface already only look at the visible tiles of scrollable layers to consider the layer's content as being ready to display, so the real world penalty (while far from optimal) is limited. Implementing the correct approach (only invalidating what really changed on scrollable layers) would sadly be a lot more complex, as currently webkit will *not* send us the repaint invals if they are on a currently clipped area, as webkit's default behaviour to implement scrolling of such element is to repaint them anyway... bug:5721618 Change-Id: Ia470157c716fa1c557e4a196ba014296ad9e627a
* | | am 42e97318: Merge "A WAR to enable the slider touch event on youtube.com" ↵Bart Sears2011-11-301-0/+7
|\ \ \ | |/ / | | | | | | | | | | | | | | | into ics-mr1 * commit '42e973186ecf6f1a040f14b7169bb99e0f100563': A WAR to enable the slider touch event on youtube.com
| * | Merge "A WAR to enable the slider touch event on youtube.com" into ics-mr1Bart Sears2011-11-301-0/+7
| |\ \
| | * | A WAR to enable the slider touch event on youtube.comTeng-Hui Zhu2011-11-221-0/+7
| | | | | | | | | | | | | | | | | | | | bug:5520141 Change-Id: Ib346c42037f68b5e8303f0c61196fb28e698f7c9
* | | | am 807ee5ec: Merge "synchronize animation starts with webkit" into ics-mr1Chris Craik2011-11-301-0/+5
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '807ee5ec662a7864dee505040ade9a9b3eab143c': synchronize animation starts with webkit
| * | | synchronize animation starts with webkitChris Craik2011-11-291-0/+5
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | bug:5239801 this better supports animations not synchronous with webkit Relies on the frameworks/base CL: https://android-git.corp.google.com/g/#/c/152533/ Change-Id: Ia79a475065b3891db8fc4014559062ab1ac95ebe
* | | am 64797036: Merge "Put canvas on a layer" into ics-mr1John Reck2011-11-282-1/+7
|\ \ \ | |/ / | | | | | | | | | * commit '647970367ac56d95e84fbfca92d8b7390d5d2fed': Put canvas on a layer