Opened 11 years ago
Closed 10 years ago
#12723 closed feature (fixed)
Consider using "display: default" (once implemented) to circumvent the defaultDisplay code path
Reported by: | mikesherov | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 2.next |
Component: | css | Version: | git |
Keywords: | Cc: | Rick Waldron | |
Blocked by: | Blocking: |
Description
Prompted by rwaldron's comment here: https://bugzilla.mozilla.org/show_bug.cgi?id=797029#c10 , this discussion happened: http://lists.w3.org/Archives/Public/www-style/2012Oct/0364.html
Which discusses the addition of a new global CSS value keyword called "default", which is like "initial", except it takes the elements default attributes into consideration.
Instead of doing defaultDisplay to figure out what to set display to for .show(), we can simply do: "display: default". This would have the added benefit of not showing elements whose default display is actually "none", like script tags or style tags or input type=hidden tags.
Change History (8)
comment:1 Changed 11 years ago by
Cc: | Rick Waldron added |
---|---|
Component: | unfiled → css |
Priority: | undecided → low |
comment:2 Changed 11 years ago by
comment:3 Changed 11 years ago by
Status: | new → open |
---|
comment:4 Changed 11 years ago by
I guess this would let to fix easily http://bugs.jquery.com/ticket/10568
comment:5 Changed 10 years ago by
Milestone: | None → 2.next |
---|
comment:6 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | open → closed |
Fix #12723 and simplification and optmization of defaultDisplay helper
Changeset: a25343001eea2436dcf8ea60deea3844f77e42e4
comment:7 Changed 10 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
This is not fixed, this ticket specifically mentioned display: default
which this commit didn't use, obviously.
comment:8 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
@m_gol Please read original thread posted in this ticket description - http://lists.w3.org/Archives/Public/www-style/2012Oct/0364.html. display: default
was just a suggestion in it, which original title was "Proposing a getDefaultComputedStyle method".
getDefaultComputedStyle
ended up being implemented not display: default
I think it would be better if next time you would assume i have a reason to close some issue or if you would consult with me before you reopen it.
+(253)