Bug 46753 - Add -webkit-margin-before-collapse and -webkit-margin-after-collapse
Summary: Add -webkit-margin-before-collapse and -webkit-margin-after-collapse
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Dave Hyatt
Depends on:
Blocks: 46123
  Show dependency treegraph
Reported: 2010-09-28 14:03 PDT by Dave Hyatt
Modified: 2010-09-28 14:17 PDT (History)
0 users

See Also:

Patch (26.49 KB, patch)
2010-09-28 14:05 PDT, Dave Hyatt
sam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Hyatt 2010-09-28 14:03:12 PDT
Right now we have two properties named margin-top-collapse and margin-after-collapse.  They are proprietary and only used by Safari RSS.

I am adding margin-before-collapse and margin-after-collapse and just aliasing the old properties to the new ones.  This way we have some names that are directionally independent.

Note that these properties aren't like other directional properties.  They are about what to do with the before side and after side of your block's margins when collapsing with adjacent blocks.  The meaning of before/after depend on the block-flow directionality of the containing block.
Comment 1 Dave Hyatt 2010-09-28 14:05:04 PDT
Created attachment 69100 [details]
Comment 2 Dave Hyatt 2010-09-28 14:17:03 PDT
Fixed in r68561.