Commit 483abaf5 authored by timloh's avatar timloh Committed by Commit bot

Remove TODO about normalizing calc() values at parse time for registered properties

This patch removes a TODO which states we should normalize calc() values
when parsing them for registered properties. I don't recall exactly why
I added this TODO but it doesn't seem that the spec says this needs to
be done. We already simplify calc() values in computation as per spec.

https://drafts.css-houdini.org/css-properties-values-api/

BUG=641877

Review-Url: https://codereview.chromium.org/2399803002
Cr-Commit-Position: refs/heads/master@{#423778}
parent 5a13edcd
......@@ -132,7 +132,6 @@ const CSSValue* consumeSingleType(const CSSSyntaxComponent& syntax,
CSSParserTokenRange& range) {
using namespace CSSPropertyParserHelpers;
// TODO(timloh): Calc values need to be normalized
switch (syntax.m_type) {
case CSSSyntaxType::Ident:
if (range.peek().type() == IdentToken &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment