[Laszlo-dev] For Review: Change 20090303-bargull-Tb7 Summary: DHTML: add css-style for textlink
André Bargull
andre.bargull at udo.edu
Mon Mar 2 16:36:34 PST 2009
If we assume that the textlink-API was only created to provide a way to
migrate from the as2-specific syntax ('<a href="asfunction:...">') to a
cross runtime way, swf does dictate the behaviour/appearance.
And if blue text-colour or underlined text is requested, people can use
"<font color='#0000ff'><u>" (that way even Flash understands how to
display the text). And advanced users can get more control over the
text-link appearance by adjusting the "lztextlink" css-style. (This was
my implicit intention when adding a css-class instead of e.g. inline css.)
On 3/3/2009 1:03 AM, P T Withington wrote:
> I can approve this.
>
> But I have a question: Should this mimic the browser <a> tag? Have
> `text-decoration: underline; color: blue`? What is the precedent here?
> Since this was added recently, I don't think swf necessarily dictates
> what should happen.
>
> On 2009-03-02, at 18:50EST, André Bargull wrote:
>
>> Change 20090303-bargull-Tb7 by bargull at dell--p4--2-53 on 2009-03-03
>> 00:45:33
>> in /home/Admin/src/svn/openlaszlo/trunk
>> for http://svn.openlaszlo.org/openlaszlo/trunk
>>
>> Summary: DHTML: add css-style for textlink
>>
>> New Features:
>>
>> Bugs Fixed: LPP-7551 (partial)
>>
>> Technical Reviewer: hminsky
>> QA Reviewer: (pending)
>> Doc Reviewer: (pending)
>>
>> Documentation:
>>
>> Release Notes:
>>
>> Details:
>> Added new css-style for textlinks ("lztextlink") and applied to span
>> in LzTextSprite.prototype.makeTextLink
>>
>>
>> Tests:
>> testcase from bugreport in dhtml
>>
>> Files:
>> M WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
>> M WEB-INF/lps/lfc/kernel/dhtml/LzTextSprite.js
>>
>> Changeset:
>> http://svn.openlaszlo.org/openlaszlo/patches/20090303-bargull-Tb7.tar
>>
>
>
More information about the Laszlo-dev
mailing list