Blog  |   Sitemap  |   Search  |   Language:  eng рус
JavaScript UI FrameworkBug TrackerBug details

Bug Data

ID: #0227
Status: New
Severity: Major
Reporter: Guest
Submitted: 04-08-10 01:23

Product Data

Product: Ample SDK
Component: XUL 1.0
Version: 0.9.x
OS: > Any
Browser: > Any


CSS Class not implemented in XUL layout elements

CSS selectors for element Id work but not for Class:

The hbox with attribute id="y" is able to be styled with this:
xul|hbox#y { }

The hbox with attribute class="n" is not able to be styled with this:
xul|hbox.n { }


<!DOCTYPE html>

<title>XUL Language: Data views</title>
<script type="text/javascript" src="lib/ample/runtime.js">
<script type="text/javascript" src=
<link type="text/ample+css" href=
"lib/ample/languages/xul/themes/default/xul.css" rel=
<style type="text/ample+css">
@namespace xul "";

xul|hbox#y { background-color:red; border:1px solid black; }
xul|hbox.n { background-color:blue; border:1px solid black; }

<script type="application/ample+xml" xmlns:xul=

<xul:hbox id="y" height="23" width="300"> <xul:label value="Title"/> </xul:hbox>
<xul:hbox class="n" height="23" width="300"> <xul:label value="Title"/> </xul:hbox>


Messages written for this bug

No messages has been appended yet.

Add a message