Closed
Bug 998535
Opened 10 years ago
Closed 10 years ago
Implement layout of block padding for box-decoration-break:clone
Categories
(Core :: Layout: Block and Inline, enhancement)
Core
Layout: Block and Inline
Tracking
()
RESOLVED
FIXED
mozilla32
People
(Reporter: MatsPalmgren_bugz, Assigned: MatsPalmgren_bugz)
References
Details
Attachments
(7 files)
No description provided.
Comment 1•10 years ago
|
||
Comment 2•10 years ago
|
||
Comment 3•10 years ago
|
||
Assignee | ||
Comment 4•10 years ago
|
||
GetConsumedHeight()/GetEffectiveComputedHeight() makes the assumption that only the first-in-flow has top border+padding and that later continuations has no vertical border+padding. This is obviously wrong for b-d-b:clone. We need to use GetContentRectRelativeToSelf here instead which uses GetSkipSides internally. This change is idempotent for b-d-b:slice, but may break some b-d-b:clone tests that depend on this bug; I'll fix those tests in a later patch here. I've pushed this part only to verify that: https://tbpl.mozilla.org/?usebuildbot=1&tree=Try&rev=0bda084c7f4a
Attachment #8409367 -
Flags: review?(cam)
Assignee | ||
Comment 5•10 years ago
|
||
nsBlockReflowState also had a few assumptions that are wrong for b-d-b:clone.
Attachment #8409368 -
Flags: review?(cam)
Assignee | ||
Comment 6•10 years ago
|
||
https://tbpl.mozilla.org/?usebuildbot=1&tree=Try&rev=e526ed984554 https://tbpl.mozilla.org/?usebuildbot=1&tree=Try&rev=91e12c6617c5
Attachment #8409369 -
Flags: review?(cam)
Comment 7•10 years ago
|
||
Assignee | ||
Comment 8•10 years ago
|
||
Comment on attachment 8409367 [details] [diff] [review] part 0, Fix ConsumedHeight calculations so that they will work also for box-decoration-break:clone. See patch descriptions in comments above.
Attachment #8409367 -
Flags: review?(cam) → review?(roc)
Assignee | ||
Updated•10 years ago
|
Attachment #8409368 -
Flags: review?(cam) → review?(roc)
Assignee | ||
Updated•10 years ago
|
Attachment #8409369 -
Flags: review?(cam) → review?(roc)
Attachment #8409367 -
Flags: review?(roc) → review+
Attachment #8409368 -
Flags: review?(roc) → review+
Attachment #8409369 -
Flags: review?(roc) → review+
Assignee | ||
Comment 9•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/0aefe597c1da https://hg.mozilla.org/integration/mozilla-inbound/rev/63325b58cde5 https://hg.mozilla.org/integration/mozilla-inbound/rev/32a55e9008ba
Flags: in-testsuite+
Comment 10•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/0aefe597c1da https://hg.mozilla.org/mozilla-central/rev/63325b58cde5 https://hg.mozilla.org/mozilla-central/rev/32a55e9008ba
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
You need to log in
before you can comment on or make changes to this bug.
Description
•