mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 02:57:38 +00:00
Backed out 2 changesets (bug 1851726) for causing mochitest failures on browser_tabclose.js CLOSED TREE
Backed out changeset f4c21bd187ef (bug 1851726) Backed out changeset e975cf693948 (bug 1851726)
This commit is contained in:
parent
b6eed9cd14
commit
2cd9ab164e
@ -1,22 +0,0 @@
|
||||
<style>
|
||||
*:scope {
|
||||
background-clip: text, border-box;
|
||||
}
|
||||
*:only-child {
|
||||
background-image: repeating-radial-gradient(0.62em, blue 28% 0.38em);
|
||||
writing-mode: vertical-lr;
|
||||
}
|
||||
*:root {
|
||||
text-combine-upright: all;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
function go() {
|
||||
a.align = "right"
|
||||
}
|
||||
</script>
|
||||
<body onload="go()">
|
||||
<table>
|
||||
<footer dir="rtl">
|
||||
<tbody id="a">
|
||||
A
|
@ -30,4 +30,3 @@ load 1717655-1.html
|
||||
load 1714584-1.html
|
||||
load 1763006-1.html
|
||||
load 1819957-1.html
|
||||
load 1851726-1.html
|
||||
|
@ -7587,10 +7587,6 @@ void nsDisplayText::RenderToContext(gfxContext* aCtx,
|
||||
const nsRect& aVisibleRect, float aOpacity,
|
||||
bool aIsRecording) {
|
||||
nsTextFrame* f = static_cast<nsTextFrame*>(mFrame);
|
||||
gfxTextRun* textRun = f->GetTextRun(nsTextFrame::eInflated);
|
||||
if (!textRun) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Add 1 pixel of dirty area around mVisibleRect to allow us to paint
|
||||
// antialiased pixels beyond the measured text extents.
|
||||
@ -7630,7 +7626,7 @@ void nsDisplayText::RenderToContext(gfxContext* aCtx,
|
||||
// necessary. This is done here because we want selection be
|
||||
// compressed at the same time as text.
|
||||
gfxPoint pt = nsLayoutUtils::PointToGfxPoint(framePt, A2D);
|
||||
if (textRun->IsRightToLeft()) {
|
||||
if (f->GetTextRun(nsTextFrame::eInflated)->IsRightToLeft()) {
|
||||
pt.x += gfxFloat(f->GetSize().width) / A2D;
|
||||
}
|
||||
gfxMatrix mat = aCtx->CurrentMatrixDouble()
|
||||
|
Loading…
Reference in New Issue
Block a user