mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 11:45:37 +00:00
0e1bf45a08
Bug 1478178 regressed this case because bullet frame is the last frame added to line layout, rather than the first, so when we try to apply justification, we end up giving it the accumulated offset of the whole line. Bullet frame has to be added after other frames in the line have been placed, because its presence may depend on whether the line is empty. However, bullet frame is logically the first frame in a line and appending it to the end is somewhat counter-intuitive. Thus, this patch tries to fix the issue via prepending bullet frame in line layout, so that the order of frames there can be more reliable. Differential Revision: https://phabricator.services.mozilla.com/D3760 --HG-- extra : moz-landing-system : lando
12 lines
153 B
HTML
12 lines
153 B
HTML
<!DOCTYPE html>
|
|
<style>
|
|
li {
|
|
margin-left: 100px;
|
|
font-size: 100px;
|
|
}
|
|
span {
|
|
color: transparent;
|
|
}
|
|
</style>
|
|
<li><span>x x</span></li>
|