| Summary: | [CSS Shapes] shape-outside does not properly handle different writing modes | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Bem Jones-Bey <bjonesbe> | ||||||||||||
| Component: | Layout and Rendering | Assignee: | Bem Jones-Bey <bjonesbe> | ||||||||||||
| Status: | RESOLVED FIXED | ||||||||||||||
| Severity: | Normal | CC: | commit-queue, esprehn+autocc, glenn, kondapallykalyan, WebkitBugTracker | ||||||||||||
| Priority: | P2 | ||||||||||||||
| Version: | 528+ (Nightly build) | ||||||||||||||
| Hardware: | Unspecified | ||||||||||||||
| OS: | Unspecified | ||||||||||||||
| Bug Depends on: | 128685 | ||||||||||||||
| Bug Blocks: | 98664 | ||||||||||||||
| Attachments: |
|
||||||||||||||
|
Description
Bem Jones-Bey
2014-02-11 15:45:13 PST
Created attachment 223909 [details]
Do not land this patch
Large patch for prelimary perusal. Real patch would be split into smaller pieces and include things like tests.
Created attachment 224255 [details]
Patch
I tried breaking this up into multiple patches, but had trouble coming up with tests for each piece.
Comment on attachment 224255 [details]
Patch
I've gotta add a couple of ASSERT_NOT_REACHED to make EFL happy.
Comment on attachment 224255 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=224255&action=review r=me with a rename suggestion. > Source/WebCore/rendering/RenderBoxModelObject.h:121 > + virtual LayoutUnit borderWidth() const { return borderLeft() + borderRight(); } > + virtual LayoutUnit borderHeight() const { return borderTop() + borderBottom(); } I would suggest naming these horizontalBorderExtent and verticalBorderExtent. I dislike using terms like "width" since it could be confused with the actual border-width CSS name, i.e., a person new to this code would think the method was returning the pixel width of a single border. I think renaming all of the other functions would be good too, i.e., marginWidth = horizontalMarginExtent, marginHeight = verticalMarginExtent, etc. borderAndPaddingWidth could be horizontalBorderAndPaddingExtent, and then borderAndPaddingHeight could be verticalBorderAndPaddingExtent. Created attachment 224536 [details]
Patch
Will do renames in a followup patch
Created attachment 224537 [details]
Patch
forgot to update reviewer
Created attachment 224560 [details]
Patch
My ability to read error messages is apparently a problem. I need a return statement to shut that EFL compiler up!
Comment on attachment 224560 [details] Patch Clearing flags on attachment: 224560 Committed r164363: <http://trac.webkit.org/changeset/164363> All reviewed patches have been landed. Closing bug. |