[xdebug-dev] Bug 0000300: Direction of Var_dump

From: <noreply[@]lists.xdebug.org>
Date: Sun, 28 Oct 2007 18:13:31 +0100

The following bug has been CLOSED
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000300
======================================================================
Reporter: emilsedgh
Handler:
======================================================================
Project: Xdebug
Bug ID: 300
Category: Usage problems
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Operating System: Kubuntu
PHP Version: 5.2.1
Xdebug Version: 2.0.0
======================================================================
Date Submitted: 2007-07-24 17:18 CEST
Last Modified: 2007-10-28 18:13 CET
======================================================================
Summary: Direction of Var_dump
Description:
on Right To Left pages, when you get a Var_Dump, the results is almost
unreadble.It will be nice if xdebugs adds 'direction:rtl;' to the Top
Element of the var_dump result.
======================================================================

----------------------------------------------------------------------
 derick - 2007-07-24 18:12 CEST
----------------------------------------------------------------------
Don't you mean "direction: ltr" there?

----------------------------------------------------------------------
 emilsedgh - 2007-07-24 18:16 CEST
----------------------------------------------------------------------
oi!
yeah, 'direction: ltr;'
sorry for that :)

----------------------------------------------------------------------
 derick - 2007-08-06 21:36 CEST
----------------------------------------------------------------------
Fixed in CVS, thanks for your report.

----------------------------------------------------------------------
 emilsedgh - 2007-09-09 13:14 CEST
----------------------------------------------------------------------
I just compiled cvs, looks like its not fixed yet, could anyone confirm
this?
this little test will show you that its fixed or not:

<div style="direction:rtl">
   <?php var_dump(array()); ?>
</div>

----------------------------------------------------------------------
 emilsedgh - 2007-09-18 11:17 CEST
----------------------------------------------------------------------
as I see, you added dir="ltr" but there is no attribute named 'dir' (thats
just for <html> tag, AFAIK), please add style="direction: ltr;"
thanks

----------------------------------------------------------------------
 derick - 2007-10-28 18:13 CET
----------------------------------------------------------------------
I had indeed forgotten the var_dump() - but not all the tables that were
shown on errors. I checked the XHTML 1.0 specs, and "dir" can be used on
table and pre as well. I therefore struck to them:
http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_table
defines %attr
(http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_attrs),
which includes %i18n;
(http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_i18n)
which defines "dir".

Bug History
Date Modified Username Field Change
======================================================================
2007-07-24 17:18emilsedgh New Bug
2007-07-24 17:18emilsedgh Bug Monitored: emilsedgh
2007-07-24 18:12derick Bugnote Added: 0000705
2007-07-24 18:12derick Status new => feedback
2007-07-24 18:16emilsedgh Bugnote Added: 0000706
2007-08-06 21:36derick Category Feature/Change request => Usage problems
2007-08-06 21:36derick Xdebug Version 2.0.0rc4 => 2.0.0
2007-08-06 21:36derick Bugnote Added: 0000712
2007-08-06 21:36derick Status feedback => closed
2007-09-09 13:14emilsedgh Bugnote Added: 0000723
2007-09-09 13:14emilsedgh Resolution open => reopened
2007-09-09 13:14emilsedgh Status closed => feedback
2007-09-18 11:17emilsedgh Bugnote Added: 0000726
2007-10-28 18:13derick Bugnote Added: 0000777
2007-10-28 18:13derick Status feedback => closed
======================================================================
Received on Sun Oct 28 2007 - 18:13:34 GMT

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST