File tree Expand file tree Collapse file tree 2 files changed +71
-0
lines changed Expand file tree Collapse file tree 2 files changed +71
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < style >
3
+ section {
4
+ width : 20ch ;
5
+ }
6
+ .w10 {
7
+ width : 10ch ;
8
+ background : orange;
9
+ }
10
+ .left {
11
+ text-align : left;
12
+ }
13
+ .right {
14
+ text-align : right;
15
+ }
16
+ </ style >
17
+ < body >
18
+ < section class ="right ">
19
+ < span >
20
+ < div > 123456789</ div >
21
+ < div class ="w10 "> 123456789</ div >
22
+ < div > 123456789</ div >
23
+ </ span >
24
+ </ section >
25
+
26
+ < section dir ="rtl " class ="left ">
27
+ < span >
28
+ < div > 123456789</ div >
29
+ < div class ="w10 "> 123456789</ div >
30
+ < div > 123456789</ div >
31
+ </ span >
32
+ </ section >
33
+ </ body >
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < meta name ="assert " content ="Test if `text-align` does not move block-in-inline ">
3
+ < link rel ="match " href ="block-in-inline-align-001-ref.html "/>
4
+ < link rel ="help " href ="http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level " />
5
+ < link rel ='help ' href ='https://drafts.csswg.org/css-text-3/#text-align-property '>
6
+ < link rel ="
author "
title ="
Koji Ishii "
href ="
mailto:[email protected] "
/>
7
+ < style >
8
+ section {
9
+ width : 20ch ;
10
+ }
11
+ div {
12
+ width : 10ch ;
13
+ background : orange;
14
+ }
15
+ .left {
16
+ text-align : left;
17
+ }
18
+ .right {
19
+ text-align : right;
20
+ }
21
+ </ style >
22
+ < body >
23
+ < section class ="right ">
24
+ < span >
25
+ 123456789
26
+ < div > 123456789</ div >
27
+ 123456789
28
+ </ span >
29
+ </ section >
30
+
31
+ < section dir ="rtl " class ="left ">
32
+ < span >
33
+ 123456789
34
+ < div > 123456789</ div >
35
+ 123456789
36
+ </ span >
37
+ </ section >
38
+ </ body >
You can’t perform that action at this time.
0 commit comments