[Webkit-unassigned] [Bug 127616] Web Inspector: Value 'inherit' should be allowed for any CSS property, even if it is a non-inheritable property

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 25 10:11:28 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=127616


Joseph Pecoraro <joepeck at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #222204|review?, commit-queue?      |review-
               Flag|                            |




--- Comment #4 from Joseph Pecoraro <joepeck at webkit.org>  2014-01-25 10:08:55 PST ---
(From update of attachment 222204)
We discussed this on IRC. I'm going to r-. Although this is technically correct, our existing behavior is smart and would be more useful to users.

Currently we always autocomplete "initial", and we only autocomplete "inherit" on inheritable properties (e.g. color, but not background-image).

That makes sense, because on a non-inheritable property, "inherit" would just mean "initial", the default value.

And, like Tim suggested, we don't support "unset" yet. We don't want to show properties in the frontend that a backend does not yet support. Currently if you typed "color: unset" in Web Inspector, it would get a red strike through. That would be weird if we showed it as an autocomplete suggestion =).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list