Side navigation
#12723 closed feature (fixed)
Opened October 14, 2012 10:34AM UTC
Closed December 03, 2013 12:23PM UTC
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: | rwaldron | |
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.
Attachments (0)
Change History (8)
Changed October 14, 2012 10:35AM UTC by comment:1
cc: | → rwaldron |
---|---|
component: | unfiled → css |
priority: | undecided → low |
Changed October 14, 2012 11:10AM UTC by comment:2
+(2^53)
Changed October 15, 2012 04:21AM UTC by comment:3
status: | new → open |
---|
Changed March 12, 2013 10:39PM UTC by comment:4
I guess this would let to fix easily http://bugs.jquery.com/ticket/10568
Changed April 29, 2013 03:57PM UTC by comment:5
milestone: | None → 2.next |
---|
Changed September 17, 2013 12:11PM UTC by comment:6
resolution: | → fixed |
---|---|
status: | open → closed |
Fix #12723 and simplification and optmization of defaultDisplay helper
Changeset: a25343001eea2436dcf8ea60deea3844f77e42e4
Changed September 17, 2013 12:34PM UTC by comment:7
resolution: | fixed |
---|---|
status: | closed → reopened |
This is not fixed, this ticket specifically mentioned display: default
which this commit didn't use, obviously.
Changed December 03, 2013 12:23PM UTC by comment:8
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: defaultwas just a suggestion in it, which original title was "Proposing a getDefaultComputedStyle method".
getDefaultComputedStyleended 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.