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

Issue 2588643004: Allow positional selectors to match elements without a parent. (Closed)

Created:
4 years ago by emilio
Modified:
3 years, 11 months ago
Reviewers:
rune
CC:
chromium-reviews, blink-reviews-css, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, apavlov+blink_chromium.org, darktears, blink-reviews, rwlbuis, Manuel Rego
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow positional selectors to match elements without a parent. BUG=675670 TEST=fast/selectors/child-indexed-pseudo-classes.html Review-Url: https://codereview.chromium.org/2588643004 Cr-Commit-Position: refs/heads/master@{#444956} Committed: https://chromium.googlesource.com/chromium/src/+/464e47a82e253d08a7c7236fcf5cb5ec5bf8660b

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Changed the expectation instead of the crashtest, since it felt a bit saner. #

Total comments: 2

Patch Set 4 : Addressed review comments #

Total comments: 7

Patch Set 5 : Addressed comments #

Patch Set 6 : Allow positional selectors to match elements without a parent. #

Patch Set 7 : Allow positional selectors to match elements without a parent. #

Messages

Total messages: 26 (12 generated)
emilio
Hi rune, Want to review this? Was a straight-forward change I did while waiting for ...
4 years ago (2016-12-20 07:28:31 UTC) #10
emilio
On 2016/12/20 07:28:31, emilio wrote: > Hi rune, > > Want to review this? Was ...
4 years ago (2016-12-20 07:56:29 UTC) #11
rune
On 2016/12/20 07:56:29, emilio wrote: > That being said, I can also write it down ...
4 years ago (2016-12-20 09:10:54 UTC) #12
rune
https://codereview.chromium.org/2588643004/diff/40001/third_party/WebKit/LayoutTests/http/tests/misc/acid3.html File third_party/WebKit/LayoutTests/http/tests/misc/acid3.html (right): https://codereview.chromium.org/2588643004/diff/40001/third_party/WebKit/LayoutTests/http/tests/misc/acid3.html#newcode1264 third_party/WebKit/LayoutTests/http/tests/misc/acid3.html:1264: expect(doc.documentElement, first, "root element, with no parent node, claims ...
4 years ago (2016-12-20 09:18:47 UTC) #13
esprehn
Can you explain in what situations you have no parentNode? It's possible to have no ...
4 years ago (2016-12-21 20:27:30 UTC) #14
rune
On 2016/12/21 20:27:30, esprehn wrote: > Can you explain in what situations you have no ...
4 years ago (2016-12-21 21:55:03 UTC) #15
emilio
The intent to ship three LGTMs: * https://groups.google.com/a/chromium.org/d/msg/blink-dev/RgdSWmv0s4g/vIJi1H5jAgAJ * https://groups.google.com/a/chromium.org/d/msg/blink-dev/RgdSWmv0s4g/Xlc8_FJlAgAJ * https://groups.google.com/a/chromium.org/d/msg/blink-dev/RgdSWmv0s4g/eDDs1N-vAgAJ Just uploaded an ...
3 years, 11 months ago (2017-01-18 16:10:49 UTC) #16
emilio
On 2017/01/18 16:10:49, emilio wrote: > The intent to ship three LGTMs: s/three/got three/
3 years, 11 months ago (2017-01-18 16:11:23 UTC) #17
emilio
NVM, rego just pointed me out the difference between module owners and API owners, sorry ...
3 years, 11 months ago (2017-01-18 16:24:01 UTC) #18
rune
https://codereview.chromium.org/2588643004/diff/60001/third_party/WebKit/LayoutTests/fast/selectors/child-indexed-pseudo-classes.html File third_party/WebKit/LayoutTests/fast/selectors/child-indexed-pseudo-classes.html (right): https://codereview.chromium.org/2588643004/diff/60001/third_party/WebKit/LayoutTests/fast/selectors/child-indexed-pseudo-classes.html#newcode22 third_party/WebKit/LayoutTests/fast/selectors/child-indexed-pseudo-classes.html:22: [ ":last-child", true ], Test :only-child as well? https://codereview.chromium.org/2588643004/diff/60001/third_party/WebKit/Source/core/dom/NthIndexCache.cpp ...
3 years, 11 months ago (2017-01-18 21:33:19 UTC) #19
emilio
https://codereview.chromium.org/2588643004/diff/60001/third_party/WebKit/LayoutTests/fast/selectors/child-indexed-pseudo-classes.html File third_party/WebKit/LayoutTests/fast/selectors/child-indexed-pseudo-classes.html (right): https://codereview.chromium.org/2588643004/diff/60001/third_party/WebKit/LayoutTests/fast/selectors/child-indexed-pseudo-classes.html#newcode22 third_party/WebKit/LayoutTests/fast/selectors/child-indexed-pseudo-classes.html:22: [ ":last-child", true ], On 2017/01/18 21:33:19, rune wrote: ...
3 years, 11 months ago (2017-01-18 23:33:07 UTC) #20
rune
lgtm, but seems like you need one more lgtm on the intent to ship.
3 years, 11 months ago (2017-01-19 00:16:05 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2588643004/120001
3 years, 11 months ago (2017-01-19 23:00:43 UTC) #23
commit-bot: I haz the power
3 years, 11 months ago (2017-01-20 02:19:33 UTC) #26
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/464e47a82e253d08a7c7236fcf5c...

Powered by Google App Engine
This is Rietveld 408576698