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

Issue 17155007: [CSS3] Parsing the property, text-justify. (Closed)

Created:
7 years, 6 months ago by dw.im
Modified:
7 years, 2 months ago
CC:
blink-reviews, eae+blinkwatch, leviw+renderwatch, dglazkov+blink, apavlov+blink_chromium.org, jchaffraix+rendering, darktears, pdr., donggwan.kim_samsung.com, dstockwell, leviw_travelin_and_unemployed
Base URL:
https://chromium.googlesource.com/chromium/blink.git@parsingTextJustify
Visibility:
Public.

Description

[CSS3] Parsing the property, text-justify. This patch implements the parsing side of the "text-justify" property specified in CSS3 working draft. Specification link : http://dev.w3.org/csswg/css-text/#text-justify Tests: fast/css3-text/css3-text-justify/getComputedStyle/getComputedStyle-text-justify-inherited.html fast/css3-text/css3-text-justify/getComputedStyle/getComputedStyle-text-justify.html BUG=250762 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=159634

Patch Set 1 #

Total comments: 2

Patch Set 2 : Runtime flage & removing -webkit prefix #

Patch Set 3 : Runtime flag & Removing -webkit prefix #

Patch Set 4 : Runtime flag & Removing -webkit prefix #

Patch Set 5 : #

Total comments: 12

Patch Set 6 : #

Total comments: 17

Patch Set 7 : Revise test case #

Patch Set 8 : Modify the test case #

Total comments: 7

Patch Set 9 : Patch for landing #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+268 lines, -3 lines) Patch
A LayoutTests/fast/css3-text/css3-text-justify/getComputedStyle/getComputedStyle-text-justify.html View 1 2 3 4 5 6 7 8 1 chunk +106 lines, -0 lines 0 comments Download
A LayoutTests/fast/css3-text/css3-text-justify/getComputedStyle/getComputedStyle-text-justify-expected.txt View 1 2 3 4 5 6 7 8 1 chunk +83 lines, -0 lines 0 comments Download
M LayoutTests/webexposed/css-properties-as-js-properties-expected.txt View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/css/CSSComputedStyleDeclaration.cpp View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -0 lines 0 comments Download
M Source/core/css/CSSParser-in.cpp View 1 2 3 4 5 6 7 4 chunks +9 lines, -2 lines 1 comment Download
M Source/core/css/CSSPrimitiveValueMappings.h View 1 2 3 4 5 6 7 1 chunk +39 lines, -0 lines 0 comments Download
M Source/core/css/CSSProperties.in View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/css/CSSProperty.cpp View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/css/CSSPropertyNames.in View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/css/CSSValueKeywords.in View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M Source/core/css/StylePropertySet.cpp View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/css/resolver/StyleBuilderCustom.cpp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/page/RuntimeCSSEnabled.cpp View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/page/UseCounter.cpp View 1 2 3 4 5 6 7 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/rendering/style/RenderStyle.h View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -0 lines 0 comments Download
M Source/core/rendering/style/RenderStyle.cpp View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/rendering/style/RenderStyleConstants.h View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/rendering/style/StyleRareInheritedData.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/rendering/style/StyleRareInheritedData.cpp View 1 2 3 4 5 6 7 3 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
dw.im
I check the test result with enabling the CSS3_TEXT flag. If anyone need, I will ...
7 years, 6 months ago (2013-06-18 12:11:18 UTC) #1
pdr.
This change looks good but I'm not an expert how our CSS system works. I've ...
7 years, 6 months ago (2013-06-18 13:06:21 UTC) #2
Mike Lawther (Google)
What is the plan for removing the prefix from the CSS3 text properties? I know ...
7 years, 6 months ago (2013-06-19 11:09:11 UTC) #3
dw.im
On 2013/06/19 11:09:11, Mike Lawther (Google) wrote: > What is the plan for removing the ...
7 years, 6 months ago (2013-06-24 08:11:07 UTC) #4
Julien - ping for review
https://codereview.chromium.org/17155007/diff/18001/LayoutTests/fast/css3-text/css3-text-justify/getComputedStyle/getComputedStyle-text-justify-inherited.html File LayoutTests/fast/css3-text/css3-text-justify/getComputedStyle/getComputedStyle-text-justify-inherited.html (right): https://codereview.chromium.org/17155007/diff/18001/LayoutTests/fast/css3-text/css3-text-justify/getComputedStyle/getComputedStyle-text-justify-inherited.html#newcode8 LayoutTests/fast/css3-text/css3-text-justify/getComputedStyle/getComputedStyle-text-justify-inherited.html:8: <script src="script-tests/getComputedStyle-text-justify-inherited.js"></script> It's much better to inline scripts for ...
7 years, 5 months ago (2013-07-15 22:05:46 UTC) #5
dw.im
https://codereview.chromium.org/17155007/diff/18001/LayoutTests/fast/css3-text/css3-text-justify/getComputedStyle/script-tests/getComputedStyle-text-justify.js File LayoutTests/fast/css3-text/css3-text-justify/getComputedStyle/script-tests/getComputedStyle-text-justify.js (right): https://codereview.chromium.org/17155007/diff/18001/LayoutTests/fast/css3-text/css3-text-justify/getComputedStyle/script-tests/getComputedStyle-text-justify.js#newcode32 LayoutTests/fast/css3-text/css3-text-justify/getComputedStyle/script-tests/getComputedStyle-text-justify.js:32: function computedValueSettingTest(value, defaultValue) On 2013/07/15 22:05:47, Julien Chaffraix wrote: ...
7 years, 5 months ago (2013-07-16 01:13:55 UTC) #6
Julien - ping for review
https://codereview.chromium.org/17155007/diff/18001/Source/core/css/CSSParser-in.cpp File Source/core/css/CSSParser-in.cpp (right): https://codereview.chromium.org/17155007/diff/18001/Source/core/css/CSSParser-in.cpp#newcode939 Source/core/css/CSSParser-in.cpp:939: return RuntimeEnabledFeatures::css3TextEnabled(); On 2013/07/16 01:13:56, dw.im wrote: > On ...
7 years, 5 months ago (2013-07-16 19:40:08 UTC) #7
Julien - ping for review
The code change is fine, the test would need another round. https://chromiumcodereview.appspot.com/17155007/diff/32001/LayoutTests/fast/css3-text/css3-text-justify/getComputedStyle/getComputedStyle-text-justify.html File LayoutTests/fast/css3-text/css3-text-justify/getComputedStyle/getComputedStyle-text-justify.html (right): ...
7 years, 5 months ago (2013-07-17 01:51:09 UTC) #8
dw.im
One comment about the test case : It seems the file is little bit messed ...
7 years, 5 months ago (2013-07-17 02:03:15 UTC) #9
Julien - ping for review
https://codereview.chromium.org/17155007/diff/32001/LayoutTests/fast/css3-text/css3-text-justify/getComputedStyle/getComputedStyle-text-justify.html File LayoutTests/fast/css3-text/css3-text-justify/getComputedStyle/getComputedStyle-text-justify.html (right): https://codereview.chromium.org/17155007/diff/32001/LayoutTests/fast/css3-text/css3-text-justify/getComputedStyle/getComputedStyle-text-justify.html#newcode89 LayoutTests/fast/css3-text/css3-text-justify/getComputedStyle/getComputedStyle-text-justify.html:89: valueSettingTest('auto'); On 2013/07/17 02:03:15, dw.im wrote: > On 2013/07/17 ...
7 years, 5 months ago (2013-07-17 17:35:24 UTC) #10
dw.im
On 2013/07/17 17:35:24, Julien Chaffraix wrote: Dear Julien, Please review the new patch set. Thanks!
7 years, 2 months ago (2013-10-11 06:10:52 UTC) #11
Julien - ping for review
lgtm https://codereview.chromium.org/17155007/diff/44001/LayoutTests/fast/css3-text/css3-text-justify/getComputedStyle/getComputedStyle-text-justify.html File LayoutTests/fast/css3-text/css3-text-justify/getComputedStyle/getComputedStyle-text-justify.html (right): https://codereview.chromium.org/17155007/diff/44001/LayoutTests/fast/css3-text/css3-text-justify/getComputedStyle/getComputedStyle-text-justify.html#newcode7 LayoutTests/fast/css3-text/css3-text-justify/getComputedStyle/getComputedStyle-text-justify.html:7: <div id="test">Hello World</div> Nit: Maybe remove the placeholder ...
7 years, 2 months ago (2013-10-14 12:57:45 UTC) #12
dw.im
https://codereview.chromium.org/17155007/diff/44001/LayoutTests/fast/css3-text/css3-text-justify/getComputedStyle/getComputedStyle-text-justify.html File LayoutTests/fast/css3-text/css3-text-justify/getComputedStyle/getComputedStyle-text-justify.html (right): https://codereview.chromium.org/17155007/diff/44001/LayoutTests/fast/css3-text/css3-text-justify/getComputedStyle/getComputedStyle-text-justify.html#newcode7 LayoutTests/fast/css3-text/css3-text-justify/getComputedStyle/getComputedStyle-text-justify.html:7: <div id="test">Hello World</div> On 2013/10/14 12:57:46, Julien Chaffraix wrote: ...
7 years, 2 months ago (2013-10-15 01:14:14 UTC) #13
yosin_UTC9
ACK https://codereview.chromium.org/17155007/diff/44001/Source/core/css/StylePropertySet.cpp File Source/core/css/StylePropertySet.cpp (right): https://codereview.chromium.org/17155007/diff/44001/Source/core/css/StylePropertySet.cpp#newcode425 Source/core/css/StylePropertySet.cpp:425: CSSPropertyTextJustify, On 2013/10/14 12:57:46, Julien Chaffraix wrote: > ...
7 years, 2 months ago (2013-10-15 01:23:46 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dw.im@samsung.com/17155007/58001
7 years, 2 months ago (2013-10-15 01:24:36 UTC) #15
dw.im
On 2013/10/15 01:23:46, Yoshifumi Inoue wrote: > ACK > > https://codereview.chromium.org/17155007/diff/44001/Source/core/css/StylePropertySet.cpp > File Source/core/css/StylePropertySet.cpp (right): ...
7 years, 2 months ago (2013-10-15 01:24:54 UTC) #16
yosin_UTC9
https://codereview.chromium.org/17155007/diff/58001/Source/core/css/CSSParser-in.cpp File Source/core/css/CSSParser-in.cpp (right): https://codereview.chromium.org/17155007/diff/58001/Source/core/css/CSSParser-in.cpp#newcode715 Source/core/css/CSSParser-in.cpp:715: return true; nit: Please put brace when conditional expression ...
7 years, 2 months ago (2013-10-15 01:28:41 UTC) #17
commit-bot: I haz the power
Retried try job too often on linux_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink_rel&number=8210
7 years, 2 months ago (2013-10-15 02:13:14 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dw.im@samsung.com/17155007/58001
7 years, 2 months ago (2013-10-15 02:31:44 UTC) #19
commit-bot: I haz the power
7 years, 2 months ago (2013-10-15 02:54:28 UTC) #20
Message was sent while issue was closed.
Change committed as 159634

Powered by Google App Engine
This is Rietveld 408576698