ru...@opera.com
unread,Oct 5, 2015, 8:23:39 AM10/5/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to svi...@igalia.com, f...@opera.com, cbies...@chromium.org, esp...@chromium.org, jfern...@igalia.com, re...@igalia.com, alexis...@intel.com, apavlo...@chromium.org, blink-...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-rev...@chromium.org, dglazko...@chromium.org, eae+bli...@chromium.org, jchaffraix...@chromium.org, jfern...@igalia.com, leviw+re...@chromium.org, pdr+renderi...@chromium.org, re...@igalia.com, rob....@samsung.com, szager+la...@chromium.org, zol...@webkit.org
https://codereview.chromium.org/1309513008/diff/100001/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp#newcode1178
third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp:1178:
validPrimitive = validUnit(value, FLength | FNonNeg);
The current spec draft doesn't say it's limited to non-negative lengths,
but it probably should, like the spec for column-gap in multicol does.
https://codereview.chromium.org/1309513008/diff/100001/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp#newcode3222
third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp:3222:
addProperty(CSSPropertyGridColumnGap,
cssValuePool().createImplicitInitialValue(), important);
According to the spec, "normal" is not a valid value for any of the
longhands.
Also, the spec doesn't say what normal mean, afaict.
https://codereview.chromium.org/1309513008/diff/100001/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp#newcode3235
third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp:3235:
addProperty(CSSPropertyGridRowGap, columnGap, important);
I think it this code might be easier to read if you have the addProperty
calls at the end and have two variables columnGap and rowGap which is
set to the same value if there's only one value in the declaration.
https://codereview.chromium.org/1309513008/diff/100001/third_party/WebKit/Source/core/style/ComputedStyle.h
File third_party/WebKit/Source/core/style/ComputedStyle.h (right):
https://codereview.chromium.org/1309513008/diff/100001/third_party/WebKit/Source/core/style/ComputedStyle.h#newcode799
third_party/WebKit/Source/core/style/ComputedStyle.h:799:
Why the extra empty line?
https://codereview.chromium.org/1309513008/diff/100001/third_party/WebKit/Source/core/style/StyleGridData.h
File third_party/WebKit/Source/core/style/StyleGridData.h (right):
https://codereview.chromium.org/1309513008/diff/100001/third_party/WebKit/Source/core/style/StyleGridData.h#newcode49
third_party/WebKit/Source/core/style/StyleGridData.h:49: return
m_gridTemplateColumns == o.m_gridTemplateColumns && m_gridTemplateRows
== o.m_gridTemplateRows && m_gridAutoFlow == o.m_gridAutoFlow &&
m_gridAutoRows == o.m_gridAutoRows && m_gridAutoColumns ==
o.m_gridAutoColumns && m_namedGridColumnLines ==
o.m_namedGridColumnLines && m_namedGridRowLines == o.m_namedGridRowLines
&& m_orderedNamedGridColumnLines == o.m_orderedNamedGridColumnLines &&
m_orderedNamedGridRowLines == o.m_orderedNamedGridRowLines &&
m_namedGridArea == o.m_namedGridArea && m_namedGridArea ==
o.m_namedGridArea && m_namedGridAreaRowCount ==
o.m_namedGridAreaRowCount && m_namedGridAreaColumnCount ==
o.m_namedGridAreaColumnCount && m_gridColumnGap == o.m_gridColumnGap &&
m_gridRowGap == o.m_gridRowGap;
About time to break this into multiple lines.
https://codereview.chromium.org/1309513008/