This repository has been archived by the owner on Dec 18, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 325
New tests for CSS2 corresponding to the changes introduced by CSS 2.2 #1139
Closed
Closed
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
d78c641
Tests for two errata for CSS 2.1.
bert-github f2c1de4
Merge remote-tracking branch 'upstream/master'
bert-github 3ca3e12
Signs (+ or -) may precede numbers, but wihout intervening space or c…
bert-github 4a13010
Added test for computed height in presence of min-height and max-height
bert-github b7db41d
Testing that overflow applies to elements that establish a formatting…
bert-github 2ce0160
Testing escapes in URI tokens
bert-github 0bd20ab
testing control characters in identifiers
bert-github 3e18256
Testing that BOM overrides a UTF charset
bert-github b3c4cf4
testing height inherited as a percentage
bert-github ccde56c
Testing scientific notation
bert-github f1c22da
Testing that an element creates an inline formatting context.
bert-github c90c4c4
Select container by ID
bert-github 65d5964
Just changing file permission bits
bert-github 76f0e94
testing that fixex positioning makes a stacking context.
bert-github ef03ae1
Testing parsing errors involving the incorrect start of a declaration.
bert-github 356c677
Corrected metadata.
bert-github e7be31f
Merge https://github.com/w3c/csswg-test
bert-github 9352871
Removed help/match/assert tags that should not be in Reference Files
bert-github e98d808
Fixes in response to Geoffrey Sneddon's review, see https://github.co…
bert-github d031e72
Fixes in response to Geoffrey Sneddon's review, see https://github.co…
bert-github 54e287a
Merge https://github.com/w3c/csswg-test
bert-github 8aff98c
Point to /TR/CSS22 instead of /TR/CSS2
bert-github 8f4f309
Point to /TR/CSS22 instead of /TR/CSS2
bert-github 0701f4b
Point to /TR/CSS22 instead of /TR/CSS2
bert-github 4eb0ef9
Point to /TR/CSS22 instead of /TR/CSS2
bert-github 112e7cb
Point to /TR/CSS22 instead of /TR/CSS2
bert-github a272e01
Point to /TR/CSS22 instead of /TR/CSS2
bert-github e1798ef
Removed link headers that should not be in reference files.
bert-github 7a4c19c
Merge https://github.com/w3c/csswg-test
bert-github 15fb17d
Added an extra rel=help link, to the Changes section of CSS 2.2
bert-github File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<title>CSS test: inherited percentage height</title> | ||
|
||
<link rel="help" href="http://www.w3.org/TR/CSS22/visudet.html#the-height-property" title="10.5 Content height: the 'height' property" /> | ||
<meta name="assert" content="If the resulting height is smaller than 'min-height', the rules above are applied again, but this time using the value of 'min-height' as the computed value for 'height'. Note: These steps do not affect the real computed value of 'height'." /> | ||
<link rel="match" href="height-percentage-004-ref.xht" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This doesn't exist in this commit (though it's added later in |
||
<link rel="author" title="Bert Bos" href="mailto:bert@w3.org" /> | ||
|
||
<meta name="flags" content="" /> | ||
|
||
<style type="text/css"> | ||
p {margin-right: 7em} | ||
div {height: 100%; background: red} | ||
div div {position: absolute; top: 0; right: 0; background: lightblue; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
height: inherit} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<p>Test passes if the light blue box ("Block A") is the full height | ||
of the viewport and there is no red.</p> | ||
|
||
<div> | ||
<div> | ||
Block A | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor: We should probably ensure (and I haven't checked in the CSSOM or equivalent) that the computed statement is true. This is testing the overall layout, but not the computed value that is returned, at first glance I'm not seeing one. But maybe @gsnedders or @SimonSapin know of one.