Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(497)

Issue 1876123002: Absolute positioned child with percent should include containing block padding (Closed)

Created:
4 years, 8 months ago by Deokjin Kim
Modified:
4 years, 7 months ago
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-layout_chromium.org, blink-reviews-style_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, rwlbuis, szager+layoutwatch_chromium.org, zoltan1, alancutter (OOO until 2018)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Absolute positioned child with percent should include containing block padding The padding box of the containing block is to be used for absolutely positioned descendants. But this rule is not applied yet. This CL fixes 2 issue. 1. getComputedStyle on absolute positioned child with percent-based left has to use containing block which includes padding box. 2. Absolute positioned child with percent-based padding also has to use containing block which includes padding box. BUG=601030 Committed: https://crrev.com/9908f45b70b65fc242e050d33c67294fe870a1cb Cr-Commit-Position: refs/heads/master@{#393358}

Patch Set 1 #

Patch Set 2 : Add test case #

Patch Set 3 : Add commit message #

Total comments: 4

Patch Set 4 : Use frameRect of the LayoutBox #

Patch Set 5 : Use clientLogicalWidth() #

Patch Set 6 : Update commit message #

Patch Set 7 : Update commit message #

Total comments: 8

Patch Set 8 : Apply mstensho's comment #

Total comments: 6

Patch Set 9 : Fix table issue #

Total comments: 1

Patch Set 10 : Modify commit message #

Messages

Total messages: 37 (18 generated)
Deokjin Kim
PTAL. Thank you in advance.
4 years, 8 months ago (2016-04-14 15:02:06 UTC) #3
esprehn
Please write your patch description has a subject, then a new line, then the description. ...
4 years, 8 months ago (2016-04-14 18:43:09 UTC) #5
Deokjin Kim
I updated to use the frameRect of the LayoutBox instead of ForComputedStyle getter. If element ...
4 years, 8 months ago (2016-04-20 13:42:09 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1876123002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1876123002/120001
4 years, 8 months ago (2016-04-25 23:13:10 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-26 00:29:16 UTC) #11
Deokjin Kim
@esprehn, would you please review this CL? If you have any concerns about this CL, ...
4 years, 7 months ago (2016-04-28 00:26:56 UTC) #12
Deokjin Kim
PTAL. Thank you in advance.
4 years, 7 months ago (2016-05-10 11:50:07 UTC) #13
alancutter (OOO until 2018)
Removing myself from reviewers as I don't have ownership over layout code. You probably want ...
4 years, 7 months ago (2016-05-11 00:29:42 UTC) #14
Deokjin Kim
PTAL, Thank you. I added 2 more reviewers(eae, mstensho).
4 years, 7 months ago (2016-05-11 01:11:46 UTC) #16
mstensho (USE GERRIT)
https://codereview.chromium.org/1876123002/diff/120001/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-left.html File third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-left.html (right): https://codereview.chromium.org/1876123002/diff/120001/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-left.html#newcode12 third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-left.html:12: padding: 0 10%; I don't think you need to ...
4 years, 7 months ago (2016-05-11 08:36:22 UTC) #17
Deokjin Kim
Thank you for your review. I changed code and test-case according to your guide and ...
4 years, 7 months ago (2016-05-11 14:10:04 UTC) #21
mstensho (USE GERRIT)
I think that you still need to work a little on the description. This isn't ...
4 years, 7 months ago (2016-05-12 09:34:03 UTC) #22
Deokjin Kim
I modified description and fixed table issue. Would you please review this CL? Thank you~ ...
4 years, 7 months ago (2016-05-12 11:24:20 UTC) #24
mstensho (USE GERRIT)
lgtm. One final request, though: Could you write something more specific on the first line ...
4 years, 7 months ago (2016-05-12 11:35:27 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1876123002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1876123002/180001
4 years, 7 months ago (2016-05-12 11:41:52 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/220560)
4 years, 7 months ago (2016-05-12 15:52:08 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1876123002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1876123002/180001
4 years, 7 months ago (2016-05-12 20:23:16 UTC) #33
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 7 months ago (2016-05-12 21:24:18 UTC) #35
commit-bot: I haz the power
4 years, 7 months ago (2016-05-12 21:26:06 UTC) #37
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/9908f45b70b65fc242e050d33c67294fe870a1cb
Cr-Commit-Position: refs/heads/master@{#393358}

Powered by Google App Engine
This is Rietveld 408576698