Project

General

Profile

Actions

Bug #843

closed

XHTML + Buttons with Icons

Added by Max Quatember almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
05/30/2011
Due date:
% Done:

0%

Estimated time:

Description

if you define "true" icons

set to buttons are not centered anymore

please see attached test case


Files

TestIconButton.cpp (264 Bytes) TestIconButton.cpp Max Quatember, 05/30/2011 04:45 PM
test.7z (29.6 KB) test.7z Max Quatember, 06/06/2011 05:10 PM
Actions #1

Updated by Wim Dumon almost 13 years ago

Any specific icon you're using? I can't seem to reproduce this...

Actions #2

Updated by Max Quatember almost 13 years ago

Hi Wim!

Today I upgraded from wt-3.1.8 to wt-3.1.9 and reviewed the bug.

However, the icon is not centered.

I'm using chrome 11.0.696.77.

I attached my test, my icon and a screenshot of what I'm seeing...

Best regards,

Max

Actions #3

Updated by Max Quatember almost 13 years ago

ps.: I already updated the resources folder ;-)

Actions #4

Updated by Max Quatember almost 13 years ago

Hi Wim!

I upgraded to latest git and tested this problem with firefox4, chrome, safari and ie9.

The only browser that shows the icon centered is firefox4.

All other are not ok.

Attention: the label of this bug can be mistaken now! It's not longer a problem with xhtml mime type, it's a general one.

No matter if specifying xhtml or not.

What can we do, if you are not able to reproduce?

Best regards,

Max

Actions #5

Updated by Wim Dumon almost 13 years ago

Got this tracked down to the difference in doctype that Wt specifies. We changed it from html4 transitional to html5, but that means that some CSS properties are different now.

Actions #6

Updated by Koen Deforche almost 13 years ago

  • Status changed from New to Resolved

Hey Markus,

This will be fixed so that we keep the behaviour of HTML4 doctype (vertical centering of img in button).

Regards,

koen

Actions #7

Updated by Koen Deforche almost 13 years ago

  • Target version set to 3.1.10
Actions #8

Updated by Koen Deforche almost 13 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF