Bug 93102

Summary: [CSSRegions]regionOverset is computed as "overset" even though the region is not the last in the chain
Product: WebKit Reporter: Andrei Onea <andreionea3000>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: eric, jchaffraix, rcaliman, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 57312    
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

Description Andrei Onea 2012-08-03 05:56:44 PDT
The latest CSSRegions spec says that Element.regionOverflow should only return "'overflow" for the last region in the region chain, if the content cannot fit inside it. http://dev.w3.org/csswg/css3-regions/#dom-region-regionoverset . The current implementation uses the older spec, which allows regions that are not the last in the region chain to have the regionOverflow property set to "overflow".
Comment 1 Andrei Onea 2012-08-03 06:05:08 PDT
Created attachment 156344 [details]
Patch
Comment 2 Andrei Onea 2012-08-08 07:53:53 PDT
Created attachment 157219 [details]
Patch

Modified patch to use regionOverset property and overset property value
Comment 3 Allan Sandfeld Jensen 2012-08-08 09:21:24 PDT
Comment on attachment 157219 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=157219&action=review

> LayoutTests/ChangeLog:14
> +        * fast/regions/element-region-overflow-state-expected.txt:
> +        * fast/regions/element-region-overflow-state-vertical-rl-expected.txt:
> +        * fast/regions/element-region-overflow-state-vertical-rl.html:
> +        * fast/regions/element-region-overflow-state.html:

I think you need to update the changelog it doesn't match the files changed below.
Comment 4 Andrei Onea 2012-08-08 10:01:34 PDT
Created attachment 157239 [details]
Patch
Comment 5 Eric Seidel (no email) 2012-08-14 13:25:19 PDT
Comment on attachment 157239 [details]
Patch

OK.
Comment 6 WebKit Review Bot 2012-08-14 13:53:26 PDT
Comment on attachment 157239 [details]
Patch

Clearing flags on attachment: 157239

Committed r125600: <http://trac.webkit.org/changeset/125600>
Comment 7 WebKit Review Bot 2012-08-14 13:53:29 PDT
All reviewed patches have been landed.  Closing bug.