Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Disallow ruby base from having leading or trailing expansions
https://bugs.webkit.org/show_bug.cgi?id=142608 Reviewed by David Hyatt. Source/WebCore: If we determine that a ruby base should have either a leading or trailing expansion, we shunt that expansion over to the neighboring RenderText, assuming one exists. This requires that we teach RenderText how to force leading or trailing expansions if one wouldn't naturally be present. Tests: fast/ruby/ruby-expansion-cjk-2.html fast/ruby/ruby-expansion-cjk-3.html fast/ruby/ruby-expansion-cjk-4.html fast/ruby/ruby-expansion-cjk-5.html fast/ruby/ruby-expansion-cjk.html * rendering/InlineFlowBox.cpp: (WebCore::InlineFlowBox::removeChild): Delete contentIsKnownToFollow. * rendering/InlineTextBox.cpp: (WebCore::InlineTextBox::expansionBehavior): Support forced leading and trailing expansions. * rendering/InlineTextBox.h: (WebCore::InlineTextBox::expansionBehavior): Moved to .cpp * rendering/RenderBlockLineLayout.cpp: (WebCore::RenderBlockFlow::updateRubyForJustifiedText): Perform relayout even if there are no expansions left. This is so that ruby bases with no expansions will get centered. (WebCore::expansionBehaviorForInlineTextBox): Update to inspect neighboring rubies. (WebCore::RenderBlockFlow::computeInlineDirectionPositionsForSegment): Use updated expansionBehaviorForInlineTextBox(). Also center ruby bases if they have no expansion opportunities. (WebCore::RenderBlockFlow::createLineBoxesFromBidiRuns): Use nullptr. (WebCore::RenderBlockFlow::layoutRunsAndFloatsInRange): Ditto. * rendering/RenderText.cpp: (WebCore::RenderText::RenderText): Delete contentIsKnownToFollow. * rendering/RenderText.h: (WebCore::RenderText::contentIsKnownToFollow): Deleted. (WebCore::RenderText::setContentIsKnownToFollow): Deleted. LayoutTests: Test combinations of CJK, Latin, ruby-in-ruby, simple text codepath, complex text codepath, RTL, and LTR codepaths. * fast/ruby/positioned-ruby-text-expected.txt: * fast/ruby/positioned-ruby-text.html: * fast/ruby/resources/green.png: Added. * fast/ruby/resources/ruby-expansion.svg: Added. * fast/ruby/ruby-expansion-cjk-2-expected.html: Added. * fast/ruby/ruby-expansion-cjk-2.html: Added. * fast/ruby/ruby-expansion-cjk-3-expected.html: Added. * fast/ruby/ruby-expansion-cjk-3.html: Added. * fast/ruby/ruby-expansion-cjk-4-expected.html: Added. * fast/ruby/ruby-expansion-cjk-4.html: Added. * fast/ruby/ruby-expansion-cjk-5-expected.html: Added. * fast/ruby/ruby-expansion-cjk-5.html: Added. * fast/ruby/ruby-expansion-cjk-expected.html: Added. * fast/ruby/ruby-expansion-cjk.html: Added. * fast/ruby/ruby-justification-expected.html: * fast/ruby/ruby-justification.html: Canonical link: https://commits.webkit.org/161378@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@182286 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
24 changed files
with
506 additions
and
77 deletions.
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
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
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
@@ -1,4 +1,4 @@ | ||
<!DOCTYPE html> | ||
<html style="font-family: ahem; font-size: 10px; -webkit-font-smoothing: none; color: white;"> | ||
<html style="font-family: ahem; font-size: 10px; -webkit-font-smoothing: none;"> | ||
<ruby>Attempt to create a positioned ruby text element. Non-static position is not supported for ruby text, which should be apparent from the resulting render tree.<rt style="position: fixed">rubytext</rt></ruby> | ||
</html> |
BIN
+87 Bytes
LayoutTests/fast/ruby/resources/green.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
@@ -0,0 +1,47 @@ | ||
<!DOCTYPE html> | ||
<head> | ||
</head> | ||
<body> | ||
<div style="position: absolute; left: 0px; top: 0px; width: 100%;"> | ||
<div style="position: absolute; width: 400px; height: 20px; left: 200px; top: 0px; background: black;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; left: 0px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; left: 380px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 40px; height: 41px; right: 0px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 800px; height: 41px; left: 0px; top: 70px; background: black;"></div> | ||
</div> | ||
|
||
<div style="position: absolute; left: 0px; top: 120px; width: 100%;"> | ||
<div style="position: absolute; width: 400px; height: 20px; left: 180px; top: 0px; background: black;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; left: 0px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; left: 360px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 80px; height: 41px; right: 0px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 800px; height: 41px; left: 0px; top: 70px; background: black;"></div> | ||
</div> | ||
|
||
<div style="position: absolute; left: 0px; top: 240px; width: 100%;"> | ||
<div style="position: absolute; width: 400px; height: 20px; left: 220px; top: 0px; background: black;"></div> | ||
<div style="position: absolute; width: 81px; height: 41px; left: 0px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; left: 400px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 40px; height: 41px; right: 0px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 800px; height: 41px; left: 0px; top: 70px; background: black;"></div> | ||
</div> | ||
|
||
<div style="position: absolute; left: 0px; top: 360px; width: 100%;"> | ||
<div style="position: absolute; width: 400px; height: 20px; left: 200px; top: 0px; background: black;"></div> | ||
<div style="position: absolute; width: 81px; height: 41px; left: 0px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; left: 380px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 80px; height: 41px; right: 0px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 800px; height: 41px; left: 0px; top: 70px; background: black;"></div> | ||
</div> | ||
|
||
<div style="position: absolute; left: 0px; top: 480px; width: 100%;"> | ||
<div style="position: absolute; width: 300px; height: 20px; left: 0px; top: 0px; background: black;"></div> | ||
<div style="position: absolute; width: 300px; height: 20px; right: 00px; top: 0px; background: black;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; left: 130px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; left: 380px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; right: 129px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 800px; height: 41px; left: 0px; top: 70px; background: black;"></div> | ||
</div> | ||
|
||
</body> | ||
</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
@@ -0,0 +1,19 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"/> | ||
<style> | ||
@font-face { | ||
font-family: 'Litherum'; | ||
src: url("resources/ruby-expansion.svg#Litherum") format(svg); | ||
} | ||
</style> | ||
</head> | ||
<body style="text-align: justify; font: 40px Litherum; margin: 0px; -webkit-font-smoothing: none;"> | ||
<div dir="rtl">ע<ruby><rb>ぎ</rb><rt>aaaaaaaaaaaaaaaaaaaa</rt></ruby>ע aaaaaaaaaaaaaaaaaaaa</div> | ||
<div dir="rtl">עע<ruby><rb>ぎ</rb><rt>aaaaaaaaaaaaaaaaaaaa</rt></ruby>ע aaaaaaaaaaaaaaaaaaaa</div> | ||
<div dir="rtl">ע<ruby><rb>ぎ</rb><rt>aaaaaaaaaaaaaaaaaaaa</rt></ruby>עע aaaaaaaaaaaaaaaaaaaa</div> | ||
<div dir="rtl">עע<ruby><rb>ぎ</rb><rt>aaaaaaaaaaaaaaaaaaaa</rt></ruby>עע aaaaaaaaaaaaaaaaaaaa</div> | ||
<div><ruby><rb>ぎ</rb><rt>aaaaaaaaaaaaaaa</rt></ruby>a<ruby><rb>ぎ</rb><rt>aaaaaaaaaaaaaaa</rt></ruby> aaaaaaaaaaaaaaaaaaaa</div> | ||
</body> | ||
</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
@@ -0,0 +1,61 @@ | ||
<!DOCTYPE html> | ||
<head> | ||
</head> | ||
<body> | ||
<div style="position: absolute; left: 0px; top: 0px; width: 100%;"> | ||
<div style="position: absolute; width: 400px; height: 20px; left: 199px; top: 0px; background: black;"></div> | ||
<div style="position: absolute; width: 40px; height: 41px; left: 0px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; left: 40px; top: 19px; background: green;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; left: 166px; top: 19px; background: green;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; right: 166px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 40px; height: 41px; right: 40px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 40px; height: 41px; right: 0px; top: 19px; background: green;"></div> | ||
<div style="position: absolute; width: 800px; height: 41px; left: 0px; top: 70px; background: black;"></div> | ||
</div> | ||
|
||
<div style="position: absolute; left: 0px; top: 120px; width: 100%;"> | ||
<div style="position: absolute; width: 400px; height: 20px; left: 265px; top: 0px; background: black;"></div> | ||
<div style="position: absolute; width: 40px; height: 41px; left: 0px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; left: 40px; top: 19px; background: green;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; left: 210px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 40px; height: 41px; right: 80px; top: 19px; background: green;"></div> | ||
<div style="position: absolute; width: 40px; height: 41px; right: 40px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 40px; height: 41px; right: 0px; top: 19px; background: green;"></div> | ||
<div style="position: absolute; width: 800px; height: 41px; left: 0px; top: 70px; background: black;"></div> | ||
</div> | ||
|
||
<div style="position: absolute; left: 0px; top: 240px; width: 100%;"> | ||
<div style="position: absolute; width: 400px; height: 20px; left: 135px; top: 0px; background: black;"></div> | ||
<div style="position: absolute; width: 40px; height: 41px; left: 0px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; left: 40px; top: 19px; background: green;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; left: 80px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; left: 550px; top: 19px; background: green;"></div> | ||
<div style="position: absolute; width: 40px; height: 41px; right: 40px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 40px; height: 41px; right: 0px; top: 19px; background: green;"></div> | ||
<div style="position: absolute; width: 800px; height: 41px; left: 0px; top: 70px; background: black;"></div> | ||
</div> | ||
|
||
<div style="position: absolute; left: 0px; top: 360px; width: 100%;"> | ||
<div style="position: absolute; width: 400px; height: 20px; left: 199px; top: 0px; background: black;"></div> | ||
<div style="position: absolute; width: 40px; height: 41px; left: 0px; top: 19px; background: green;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; left: 40px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; left: 166px; top: 19px; background: green;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; right: 166px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 40px; height: 41px; right: 40px; top: 19px; background: green;"></div> | ||
<div style="position: absolute; width: 40px; height: 41px; right: 0px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 800px; height: 41px; left: 0px; top: 70px; background: black;"></div> | ||
</div> | ||
|
||
<div style="position: absolute; left: 0px; top: 480px; width: 100%;"> | ||
<div style="position: absolute; width: 400px; height: 20px; left: 135px; top: 0px; background: black;"></div> | ||
<div style="position: absolute; width: 40px; height: 41px; left: 0px; top: 19px; background: green;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; left: 40px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; left: 80px; top: 19px; background: green;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; left: 550px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 40px; height: 41px; right: 40px; top: 19px; background: green;"></div> | ||
<div style="position: absolute; width: 40px; height: 41px; right: 0px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 800px; height: 41px; left: 0px; top: 70px; background: black;"></div> | ||
</div> | ||
|
||
</body> | ||
</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
@@ -0,0 +1,19 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"/> | ||
<style> | ||
@font-face { | ||
font-family: 'Litherum'; | ||
src: url("resources/ruby-expansion.svg#Litherum") format(svg); | ||
} | ||
</style> | ||
</head> | ||
<body style="text-align: justify; font: 40px Litherum; margin: 0px; -webkit-font-smoothing: none;"> | ||
<div dir="rtl"><span style="color: green;">ע</span>ע<ruby><rb><span style="color: green;">ぎ</span>ぎ</rb><rt>aaaaaaaaaaaaaaaaaaaa</rt></ruby><span style="color: green;">ע</span>ע aaaaaaaaaaaaaaaaaaaa</div> | ||
<div dir="rtl"><span style="color: green;">ע</span>ע<ruby><rb><span style="color: green;">ע</span>ぎ</rb><rt>aaaaaaaaaaaaaaaaaaaa</rt></ruby><span style="color: green;">ע</span>ע aaaaaaaaaaaaaaaaaaaa</div> | ||
<div dir="rtl"><span style="color: green;">ע</span>ע<ruby><rb><span style="color: green;">ぎ</span>ע</rb><rt>aaaaaaaaaaaaaaaaaaaa</rt></ruby><span style="color: green;">ע</span>ע aaaaaaaaaaaaaaaaaaaa</div> | ||
<div><span style="color: green;">a</span>a<ruby><rb><span style="color: green;">ぎ</span>ぎ</rb><rt>aaaaaaaaaaaaaaaaaaaa</rt></ruby><span style="color: green;">a</span>a aaaaaaaaaaaaaaaaaaaa</div> | ||
<div><span style="color: green;">a</span>a<ruby><rb><span style="color: green;">a</span>ぎ</rb><rt>aaaaaaaaaaaaaaaaaaaa</rt></ruby><span style="color: green;">a</span>a aaaaaaaaaaaaaaaaaaaa</div> | ||
</body> | ||
</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
@@ -0,0 +1,47 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"/> | ||
<style> | ||
@font-face { | ||
font-family: 'Litherum'; | ||
src: url("resources/ruby-expansion.svg#Litherum") format(svg); | ||
} | ||
</style> | ||
</head> | ||
<body style="text-align: justify; font-size: 40px; margin: 0px; -webkit-font-smoothing: none;"> | ||
<div>èà<ruby><rb>ぎ</rb><rt>aaaaaaaaaaaaaaaaaaaa</rt></ruby>èà <span style="font-family: Litherum;">aaaaaaaaaaaaaaaaaaaa</span></div> | ||
<div style="font-family: Litherum;"> | ||
<div style="position: absolute; left: 0px; top: 126px; width: 100%;"> | ||
<div style="position: absolute; width: 400px; height: 20px; left: 199px; top: 0px; background: black;"></div> | ||
<div style="position: absolute; width: 40px; height: 41px; left: 0px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; left: 40px; top: 19px; background: green;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; left: 166px; top: 19px; background: green;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; right: 166px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 40px; height: 41px; right: 40px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 40px; height: 41px; right: 0px; top: 19px; background: green;"></div> | ||
<div style="position: absolute; width: 800px; height: 41px; left: 0px; top: 70px; background: black;"></div> | ||
</div> | ||
|
||
<div style="position: absolute; left: 0px; top: 239px; width: 100%;"> | ||
<div style="position: absolute; width: 400px; height: 20px; left: 200px; top: 0px; background: black;"></div> | ||
<div style="position: absolute; width: 400px; height: 20px; left: 199px; top: 21px; background: black;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; left: 0px; top: 40px; background: black;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; left: 120px; top: 40px; background: black;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; left: 193px; top: 40px; background: black;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; right: 193px; top: 40px; background: black;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; right: 119px; top: 40px; background: black;"></div> | ||
<div style="position: absolute; width: 40px; height: 41px; right: 0px; top: 40px; background: black;"></div> | ||
<div style="position: absolute; width: 800px; height: 41px; left: 0px; top: 91px; background: black;"></div> | ||
</div> | ||
|
||
<div style="position: absolute; left: 0px; top: 380px; width: 100%;"> | ||
<div style="position: absolute; width: 400px; height: 20px; left: 100px; top: 0px; background: black;"></div> | ||
<div style="position: absolute; width: 100px; height: 50px; left: 0px; top: 10px; background: rgb(0, 255, 0);"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; right: 479px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 40px; height: 41px; right: 0px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 800px; height: 41px; left: 0px; top: 70px; background: black;"></div> | ||
</div> | ||
</div> | ||
</body> | ||
</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
@@ -0,0 +1,20 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"/> | ||
<style> | ||
@font-face { | ||
font-family: 'Litherum'; | ||
src: url("resources/ruby-expansion.svg#Litherum") format(svg); | ||
} | ||
</style> | ||
</head> | ||
<body style="text-align: justify; font-size: 40px; margin: 0px; -webkit-font-smoothing: none;"> | ||
<div>èà<ruby><rb>ぎ</rb><rt>aaaaaaaaaaaaaaaaaaaa</rt></ruby>èà <span style="font-family: Litherum;">aaaaaaaaaaaaaaaaaaaa</span></div> | ||
<div style="font-family: Litherum;"> | ||
<div dir="rtl"><span style="color: green;">ت</span>ت<ruby><rb><span style="color: green;">ぎ</span>ぎ</rb><rt>aaaaaaaaaaaaaaaaaaaa</rt></ruby><span style="color: green;">ت</span>ت aaaaaaaaaaaaaaaaaaaa</div> | ||
<div>a<ruby><rb>ぎ<ruby><rb>ぎぎ</rb><rt>aaaaaaaaaaaaaaaaaaaa</rt></ruby>ぎ</rb><rt>aaaaaaaaaaaaaaaaaaaa</rt></ruby>a <span style="font-family: Litherum;">aaaaaaaaaaaaaaaaaaaa</span></div> | ||
<div><img src="resources/green.png"><ruby><rb>ぎ</rb><rt>aaaaaaaaaaaaaaaaaaaa</rt></ruby>a <span style="font-family: Litherum;">aaaaaaaaaaaaaaaaaaaa</span></div> | ||
</div> | ||
</body> | ||
</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
@@ -0,0 +1,15 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"/> | ||
</head> | ||
<body style="text-align: justify; font: 40px Litherum; margin: 0px; -webkit-font-smoothing: none;"> | ||
<div style="position: absolute; left: 0px; top: 0px; width: 100%;"> | ||
<div style="position: absolute; width: 400px; height: 20px; right: 100px; top: 0px; background: black;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; left: 0px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 41px; height: 41px; left: 480px; top: 19px; background: black;"></div> | ||
<div style="position: absolute; width: 100px; height: 50px; right: 0px; top: 10px; background: rgb(0, 255, 0);"></div> | ||
<div style="position: absolute; width: 800px; height: 41px; left: 0px; top: 70px; background: black;"></div> | ||
</div> | ||
</body> | ||
</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
@@ -0,0 +1,15 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"/> | ||
<style> | ||
@font-face { | ||
font-family: 'Litherum'; | ||
src: url("resources/ruby-expansion.svg#Litherum") format(svg); | ||
} | ||
</style> | ||
</head> | ||
<body style="text-align: justify; font: 40px Litherum; margin: 0px; -webkit-font-smoothing: none;"> | ||
<div>a<ruby><rb>ぎ</rb><rt>aaaaaaaaaaaaaaaaaaaa</rt></ruby><img src="resources/green.png"> <span style="font-family: Litherum;">aaaaaaaaaaaaaaaaaaaa</span></div> | ||
</body> | ||
</html> |
Oops, something went wrong.