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

Issue 1898403002: [WIP] Implement :dir() (Closed)

Created:
4 years, 8 months ago by Timothy Loh
Modified:
3 years, 11 months ago
Reviewers:
esprehn, kojii, rune
CC:
chromium-reviews, devtools-reviews_chromium.org, caseq+blink_chromium.org, blink-reviews-html_chromium.org, blink-reviews-style_chromium.org, pfeldman+blink_chromium.org, blink-reviews-css, sof, eae+blinkwatch, lushnikov+blink_chromium.org, blink-reviews-dom_chromium.org, dglazkov+blink, apavlov+blink_chromium.org, darktears, blink-reviews, sergeyv+blink_chromium.org, kozyatinskiy+blink_chromium.org, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : WIP #

Patch Set 3 : rebase... other changes too probably #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+338 lines, -55 lines) Patch
A third_party/WebKit/LayoutTests/fast/selectors/dir-pseudo/dir-pseudo-auto.html View 1 2 1 chunk +81 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/selectors/dir-pseudo/dir-pseudo-basic.html View 1 2 1 chunk +35 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/selectors/dir-pseudo/dir-pseudo-querySelector.html View 1 2 1 chunk +64 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/selectors/dir-pseudo/dir-pseudo-with-direction.html View 1 2 1 chunk +48 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/selectors/pseudo-classes/dir-expected.txt View 1 1 chunk +3 lines, -3 lines 1 comment Download
M third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/selectors/pseudo-classes/dir01-expected.txt View 1 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/CSSSelector.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSSelector.cpp View 1 2 4 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/RuleFeature.cpp View 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/SelectorChecker.cpp View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSSelectorParser.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp View 1 2 1 chunk +3 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Element.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Element.cpp View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/ElementData.h View 1 2 3 chunks +14 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/ElementData.cpp View 1 2 3 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLElement.h View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLElement.cpp View 1 2 3 chunks +34 lines, -34 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLInputElement.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 22 (3 generated)
Timothy Loh
This was what I was thinking of when we were talking about caching directionality. I'm ...
4 years, 8 months ago (2016-04-20 02:19:14 UTC) #2
rune
On 2016/04/20 02:19:14, Timothy Loh wrote: > ** Looks like dir=auto is supposed to inherit ...
4 years, 8 months ago (2016-04-20 08:21:29 UTC) #3
Timothy Loh
On 2016/04/20 08:21:29, rune wrote: > Yeah, so according to the html spec, every element ...
4 years, 8 months ago (2016-04-20 13:34:22 UTC) #4
Timothy Loh
Ok, I just realised I could cache it on Node. The comment there says there ...
4 years, 8 months ago (2016-04-20 16:19:10 UTC) #5
esprehn
I think you want to just walk the ancestors, that's what :lang does. We don't ...
4 years, 8 months ago (2016-04-20 16:28:24 UTC) #6
esprehn
I think you want to just walk the ancestors, that's what :lang does. We don't ...
4 years, 8 months ago (2016-04-20 16:30:42 UTC) #7
Timothy Loh
I haven't been working on this, but I just rebased it and remembered a problem ...
4 years, 7 months ago (2016-05-12 09:28:02 UTC) #9
rune
On 2016/05/12 09:28:02, Timothy Loh wrote: > I haven't been working on this, but I ...
4 years, 7 months ago (2016-05-12 12:37:34 UTC) #10
kojii
As esprehn@ commented, couldn't we do just like lang() without creating cache? Or even better, ...
4 years, 7 months ago (2016-05-16 06:25:54 UTC) #11
rune
On 2016/05/16 06:25:54, kojii wrote: > As esprehn@ commented, couldn't we do just like lang() ...
4 years, 7 months ago (2016-05-19 09:48:31 UTC) #12
rune
On 2016/05/19 09:48:31, rune wrote: > On 2016/05/16 06:25:54, kojii wrote: > > As esprehn@ ...
4 years, 7 months ago (2016-05-19 09:58:13 UTC) #13
kojii
Again from who know little about invalidations, please disregard if I'm missing the point. On ...
4 years, 7 months ago (2016-05-19 10:26:47 UTC) #14
kojii
On 2016/05/19 at 09:48:31, rune wrote: > <style>div:dir(rtl) span {}</style> > <div dir="auto"><span></span>...<span></span></div> > > ...
4 years, 7 months ago (2016-05-19 10:39:12 UTC) #15
esprehn
On 2016/05/19 at 10:39:12, kojii wrote: > On 2016/05/19 at 09:48:31, rune wrote: > > ...
4 years, 7 months ago (2016-05-19 21:29:17 UTC) #16
kojii
On 2016/05/19 at 21:29:17, esprehn wrote: > On 2016/05/19 at 10:39:12, kojii wrote: > > ...
4 years, 7 months ago (2016-05-20 07:52:07 UTC) #17
Timothy Loh
Since BlinkOn is coming up, maybe it'd be convenient to just discuss this in person ...
4 years, 7 months ago (2016-05-25 07:41:48 UTC) #18
rune
On 2016/05/25 07:41:48, Timothy Loh wrote: > Since BlinkOn is coming up, maybe it'd be ...
4 years, 7 months ago (2016-05-25 07:43:14 UTC) #19
kojii
On 2016/05/25 at 07:43:14, rune wrote: > On 2016/05/25 07:41:48, Timothy Loh wrote: > > ...
4 years, 7 months ago (2016-05-25 08:27:48 UTC) #20
esprehn
4 years, 6 months ago (2016-06-01 05:08:27 UTC) #21
On 2016/05/25 at 08:27:48, kojii wrote:
> On 2016/05/25 at 07:43:14, rune wrote:
> > On 2016/05/25 07:41:48, Timothy Loh wrote:
> > > Since BlinkOn is coming up, maybe it'd be convenient to just discuss this
in
> > > person (assuming we're all going) unless there's any pressing need to get
this
> > > in sooner?
> > 
> > I'll be there.
> 
> I'll be there too, only on the first day though.

sgtm.

Powered by Google App Engine
This is Rietveld 408576698