mirror of
https://github.com/servo/servo.git
synced 2025-10-04 18:49:23 +01:00
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
30 lines
No EOL
952 B
HTML
30 lines
No EOL
952 B
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
|
|
<meta charset="UTF-8" />
|
|
<title>CSS Reference: Inlinize block-level boxes inside ruby</title>
|
|
<link href="mailto:quanxunzhen@gmail.com" rel="author" title="Xidorn Quan" />
|
|
<link href="support/rbc.css" rel="stylesheet" />
|
|
<style>
|
|
ruby::before, rb::before, rt::before, rbc::before, rtc::before {
|
|
content: "a";
|
|
display: inline-block;
|
|
background-color: yellow;
|
|
width: 30px; height: 30px;
|
|
}
|
|
ruby::after, rb::after, rt::after, rbc::after, rtc::after {
|
|
content: "c";
|
|
display: inline-block;
|
|
background-color: yellow;
|
|
width: 30px; height: 30px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div><ruby>b</ruby></div>
|
|
<div><rb>b</rb></div>
|
|
<div><rt>b</rt></div>
|
|
<div><rbc>b</rbc></div>
|
|
<div><rtc>b</rtc></div>
|
|
|
|
|
|
</body></html> |