Git Product home page Git Product logo

Comments (12)

dankurka avatar dankurka commented on July 20, 2024
I think this is something that needs to exist for both DOM and CSS attributes (both
names and values in many cases).  There are a lot of ways to make mistakes: both
simple typos and more subtle issues such as "float == [cssFloat | styleFloat]" and
"for == htmlFor".  These mistakes can be really hard to catch in practice, because
failures are often silent.

Reported by gwt.team.jgw on 2006-11-16 15:40:46

  • Status changed: Accepted

from gwt.

dankurka avatar dankurka commented on July 20, 2024

Reported by gwt.team.morrildl on 2007-02-01 14:18:55

  • Labels added: Category-Other

from gwt.

dankurka avatar dankurka commented on July 20, 2024
Here is a first attempt for the CSS Attributes. It uses a CSS.gwt.xml for different
implementations to work around the browser 'float' differences, which hides that
problem for the user of this CSS class. Let me know if this is a useful contribution.

Reported by [email protected] on 2007-08-21 21:36:25


- _Attachment: [CSS_Attributes.zip](https://storage.googleapis.com/google-code-attachments/google-web-toolkit/issue-26/comment-3/CSS_Attributes.zip)_

from gwt.

dankurka avatar dankurka commented on July 20, 2024

Reported by [email protected] on 2008-04-08 15:09:12

  • Labels added: Milestone-Planned

from gwt.

dankurka avatar dankurka commented on July 20, 2024

Reported by [email protected] on 2008-04-28 22:59:06

from gwt.

dankurka avatar dankurka commented on July 20, 2024

Reported by [email protected] on 2008-10-21 21:54:58

  • Labels removed: priority-low

from gwt.

dankurka avatar dankurka commented on July 20, 2024
@jgw: Is this one done now?

Reported by [email protected] on 2009-05-22 15:56:17

from gwt.

dankurka avatar dankurka commented on July 20, 2024
We recently added a set of properties to the Style object (as enums, using a pattern
known to compile efficiently). I'm going to mark this only as "started", because we
need to come back through and finish the set of style properties.

Reported by [email protected] on 2009-05-22 17:44:46

  • Status changed: Started

from gwt.

dankurka avatar dankurka commented on July 20, 2024
Interresteing, but it looks like every one can see you problems

Reported by dg2404 on 2009-06-19 20:28:01

from gwt.

dankurka avatar dankurka commented on July 20, 2024
You might want to consider looking at issue 4238:
http://code.google.com/p/google-web-toolkit/issues/detail?id=4238

Reported by post2edbras on 2009-11-16 16:06:59

from gwt.

dankurka avatar dankurka commented on July 20, 2024

Reported by [email protected] on 2009-12-15 12:45:47

from gwt.

dankurka avatar dankurka commented on July 20, 2024
Fixed, e.g. you can write code like this:
  element.getStyle().setOverflow(Overflow.HIDDEN);

Better yet, use UiBinder to write your HTML in the .ui.xml file and use Eclipse's CSS
code completion with CMD/CTRL-SPACE.

Reported by [email protected] on 2010-07-03 05:54:51

  • Status changed: Fixed

from gwt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.