-webkit-appearance: Implement element-type restriction for each of keywords
Implement element-type restriction for each of -webkit-appearance keywords. ComputedStyle::Appearnace() returns a parsed -webkit-appearance keyword as ever, and ComputedStyle::EffectiveAppearance() returns an appearance value which is the result of AdjustAppearanceWithElementType(). This CL has no behavior changes at this moment because the new behavior is behind the flag 'RestrictedWebkitAppearance'. Bug: 965432, 981720 Change-Id: Idb43bb98a67d081c1e843ad4d6658a1f3cd495bf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1735235Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#683919}
Showing
Please register or sign in to comment