DescriptionReset viewport to implicit when @viewport is removed.
When m_propertySet was null after cascading @viewport rules (no rules added),
ViewportStyleResolver::resolve would be a no-op so that removing the last
@viewport rule through CSSOM would not have an effect. This is fixed by
re-setting to Implicit when removing the last @viewport rule.
Removed a stray ViewportStyleResolver::resolve call in viewportAsText that was
a no-op before the rest of this change, but resulted in always resetting the
viewport arguments with this fix.
BUG=276812
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=156855
Patch Set 1 #
Total comments: 2
Messages
Total messages: 8 (0 generated)
|