| Summary: | paste.kde.org regression in 4.6/trunk | ||
|---|---|---|---|
| Product: | [Applications] konqueror | Reporter: | Albert Astals Cid <aacid> |
| Component: | khtml | Assignee: | Sayak Banerjee <sayakb> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | maksim, sayakb |
| Priority: | NOR | ||
| Version First Reported In: | SVN | ||
| Target Milestone: | --- | ||
| Platform: | Unlisted Binaries | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Albert Astals Cid
2010-12-30 23:22:23 UTC
Thank you for the bug report. Please report pastebin issues under component paste.kde.org Thanks! Sayak Oops, false alarm. Looks like the component doesn't exist :D Anyway, will look into the bug. Thanks again. And I am looking at it from KHTML end. Likely reduction:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<style>
.goleft
{
float: left;
}
.imagefix a img, .imagefix img
{
vertical-align: -15%;
}
</style>
<body>
<div class="goleft imagefix" style="border:2px solid red;">
<a href="http://www.kde.org">
<img src="https://bugs.kde.org/media/images/top-kde.jpg">
</a>
</div>
OK, figured it out --- a StyleBoxData::operator== bug that has us hash-consing unrelated things. In case I don't get an OK to commit this before 4.6.0 a workaround is to add max-width: 5000px; (or similar) to the .imagefix CSS. SVN commit 1215533 by orlovich: Fix a bug in khtml::StyleBoxData::operator == that made us incorrectly hashcons different styles, messing up paste.kde.org BUG: 261668 M +1 -0 render_style.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1215533 SVN commit 1215535 by orlovich: Regression test for r1215533 CCBUG:261668 A baseline/unsorted/261668.html-dom AM baseline/unsorted/261668.html-dump.png A baseline/unsorted/261668.html-render A tests/unsorted/261668.html WebSVN link: http://websvn.kde.org/?view=rev&revision=1215535 SVN commit 1215536 by orlovich: Merged revision:r1215533 | orlovich | 2011-01-18 18:55:32 -0500 (Tue, 18 Jan 2011) | 6 lines Fix a bug in khtml::StyleBoxData::operator == that made us incorrectly hashcons different styles, messing up paste.kde.org BUG: 261668 M +1 -0 render_style.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1215536 |