Skip to content

WebKit defaults to "auto" when properties not set.#14

Open
brianlmoon wants to merge 1 commit into
madrobby:masterfrom
brianlmoon:master
Open

WebKit defaults to "auto" when properties not set.#14
brianlmoon wants to merge 1 commit into
madrobby:masterfrom
brianlmoon:master

Conversation

@brianlmoon

Copy link
Copy Markdown

WebKit returns auto for unset properties from getComputedStyle. It however does not return auto when there are user agent styles applied. So, we can reliably assume auto == 0 for numeric properties.

…wever does not return auto when there are user agent styles applied. So, we can reliably assume auto == 0 for numeric properties.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant