Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: xiaojunwu <xiaojunx.a.wu@intel.com>
- Loading branch information
Showing
3 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
html/semantics/text-level-semantics/the-bdo-element/bdo-child.html
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,17 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>HTML Test: bdo - text directionality formatting control for its children</title> | ||
<link rel="author" title="Intel" href="http://www.intel.com/"> | ||
<link rel="help" href="http://www.w3.org/html/wg/drafts/html/CR/text-level-semantics.html#the-bdo-element"> | ||
<link rel="match" href="bidi-001-ref.html"> | ||
<meta name="assert" content="Check if the bdo element represents explicit text directionality formatting control for its children."> | ||
</head> | ||
<body> | ||
<p>Test passes if there is text 'WERBEH'.</p> | ||
<bdo dir="rtl"> | ||
<span>HEBREW</span> | ||
</bdo> | ||
</body> | ||
</html> |
15 changes: 15 additions & 0 deletions
15
html/semantics/text-level-semantics/the-bdo-element/bdo-ltr.html
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,15 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>HTML Test: The value 'ltr' of dir attribute specifies a left-to-right override</title> | ||
<link rel="author" title="Intel" href="http://www.intel.com/"> | ||
<link rel="help" href="http://www.w3.org/html/wg/drafts/html/CR/text-level-semantics.html#the-bdo-element"> | ||
<link rel="match" href="bidi-001-ref.html"> | ||
<meta name="assert" content="Check if the value ltr of dir attribute specifies a left-to-right override"> | ||
</head> | ||
<body> | ||
<p>Test passes if there is text 'WERBEH'.</p> | ||
<bdo dir="ltr">WERBEH</bdo> | ||
</body> | ||
</html> |
18 changes: 18 additions & 0 deletions
18
html/semantics/text-level-semantics/the-bdo-element/bdo-override.html
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,18 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>HTML Test: bdo - override the Unicode bidirectional algorithm</title> | ||
<link rel="author" title="Intel" href="http://www.intel.com/"> | ||
<link rel="help" href="http://www.w3.org/html/wg/drafts/html/CR/text-level-semantics.html#the-bdo-element"> | ||
<link rel="match" href="bidi-001-ref.html"> | ||
<meta name="assert" content="Check if authors could override the Unicode bidirectional algorithm | ||
by explicitly specifying a direction override of bdo element"> | ||
</head> | ||
<body> | ||
<p>Test passes if there is text 'WERBEH'.</p> | ||
<p> | ||
‮<bdo dir="ltr">WERBEH</bdo>‬ | ||
</p> | ||
</body> | ||
</html> |