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

Issue 2753013004: Apply SVG styles paint-order, stroke-linejoin, and stroke-linecap on DOM text

Created:
3 years, 9 months ago by Shanmuga Pandi
Modified:
3 years, 9 months ago
Reviewers:
pdr., fs
CC:
chromium-reviews, dshwang, eae+blinkwatch, eric.carlson_apple.com, apavlov+blink_chromium.org, Srirama, kouhei+svg_chromium.org, rwlbuis, krit, blink-reviews-css, szager+layoutwatch_chromium.org, dglazkov+blink, jchaffraix+rendering, blink-reviews-paint_chromium.org, blink-reviews, gyuyoung2, pdr+svgwatchlist_chromium.org, nessy, blink-reviews-style_chromium.org, zoltan1, blink-reviews-layout_chromium.org, feature-media-reviews_chromium.org, darktears, mlamouri+watch-blink_chromium.org, pdr+renderingwatchlist_chromium.org, gasubic, leviw+renderwatch, fmalita+watch_chromium.org, Stephen Chennney
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move paint-order, stroke-width, stroke-linejoin, and stroke-linecap styles out of SVG This patch moves these styles out of svg and sets the properties on video cues. Base patch: http://trac.webkit.org/changeset/212562 BUG=692841 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2

Patch Set 1 #

Patch Set 2 : Apply SVG styles paint-order, stroke-linejoin, and stroke-linecap on DOM text #

Unified diffs Side-by-side diffs Delta from patch set Stats (+478 lines, -161 lines) Patch
A third_party/WebKit/LayoutTests/fast/css/parsing-paint-order.html View 1 chunk +73 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/parsing-stroke-linecap.html View 1 chunk +59 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/parsing-stroke-linejoin.html View 1 chunk +59 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/parsing-stroke-width.html View 1 chunk +58 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/media/track/track-css-stroke-cues.html View 1 chunk +35 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSProperties.json5 View 3 chunks +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp View 6 chunks +13 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGPath.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGRect.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/SVGLayoutTreeAsText.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp View 5 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/paint/SVGShapePainter.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.h View 2 chunks +43 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.cpp View 1 4 chunks +50 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyleTest.cpp View 2 chunks +19 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/style/SVGComputedStyle.h View 15 chunks +0 lines, -37 lines 0 comments Download
M third_party/WebKit/Source/core/style/SVGComputedStyle.cpp View 5 chunks +2 lines, -48 lines 0 comments Download
M third_party/WebKit/Source/core/style/SVGComputedStyleDefs.h View 2 chunks +0 lines, -22 lines 0 comments Download
M third_party/WebKit/Source/core/style/SVGComputedStyleDefs.cpp View 3 chunks +4 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/style/SVGComputedStyleTest.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/style/StyleRareInheritedData.h View 2 chunks +26 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp View 4 chunks +12 lines, -1 line 0 comments Download

Messages

Total messages: 13 (5 generated)
Shanmuga Pandi
PTAL !!
3 years, 9 months ago (2017-03-16 14:30:00 UTC) #4
fs
On 2017/03/16 at 14:30:00, shanmuga.m wrote: > PTAL !! I think this is missing the ...
3 years, 9 months ago (2017-03-16 15:49:26 UTC) #5
Shanmuga Pandi
On 2017/03/16 15:49:26, fs wrote: > On 2017/03/16 at 14:30:00, shanmuga.m wrote: > > PTAL ...
3 years, 9 months ago (2017-03-17 04:59:02 UTC) #6
Shanmuga Pandi
Also as per webkit bug https://bugs.webkit.org/show_bug.cgi?id=168044#c36 Follow up patch for TextPainter will be submitted. So ...
3 years, 9 months ago (2017-03-17 09:10:56 UTC) #7
fs
On 2017/03/17 at 04:59:02, shanmuga.m wrote: > On 2017/03/16 15:49:26, fs wrote: > > On ...
3 years, 9 months ago (2017-03-17 09:14:46 UTC) #8
Shanmuga Pandi
Updated the description as per patch content.
3 years, 9 months ago (2017-03-17 09:21:40 UTC) #11
fs
On 2017/03/17 at 09:10:56, shanmuga.m wrote: > Also as per webkit bug > https://bugs.webkit.org/show_bug.cgi?id=168044#c36 > ...
3 years, 9 months ago (2017-03-17 09:38:16 UTC) #12
Shanmuga Pandi
3 years, 9 months ago (2017-03-17 09:40:18 UTC) #13
On 2017/03/17 09:38:16, fs wrote:
> On 2017/03/17 at 09:10:56, shanmuga.m wrote:
> > Also as per webkit bug 
> > https://bugs.webkit.org/show_bug.cgi?id=168044#c36
> > 
> > Follow up patch for TextPainter will be submitted.
> > 
> > 
> > So this patch has only CSS bit part :)
> 
> Let's wait until we have a useful complex of CLs. (The TextPainter changes
does
> not really need to depend on having the ComputedStyle bits moved out from
> SVGComputedStyle.) I wonder if this also wouldn't warrant an I2S, because it
> essentially implements part of https://drafts.fxtf.org/paint/. Also, since
this
> seems to be set up to work/interact with the -webkit-text-stroke-* properties
> (speculating based on the WebKit patch), some consideration needs to taken for
> that as well (for example how does 'stroke-width' interact with
> '-webkit-text-stroke-width'?)

Agree, Lets wait.

Powered by Google App Engine
This is Rietveld 408576698