This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 22754 - " width:100%; height:100%;"
Summary: " width:100%; height:100%;"
Status: RESOLVED INVALID
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: Fullscreen (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Anne
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-22 17:54 UTC by Matt Falkenhagen
Modified: 2013-07-22 18:49 UTC (History)
3 users (show)

See Also:


Attachments

Description Matt Falkenhagen 2013-07-22 17:54:17 UTC
http://fullscreen.spec.whatwg.org/#user-agent-level-style-sheet-defaults

[[
 width:100%;
  height:100%;
]]

Are these redundant since there is already top:0; right:0; bottom:0; left:0;
Comment 1 Boris Zbarsky 2013-07-22 18:19:11 UTC
No, because e.g. "left: 0, right: 0" on an <img> (or any other replaced element) doesn't affect its width in CSS; it just leads to an overconstrained situation in which one of the offsets is ignored.