Comments on: The New Form Controls: Checkbox https://webkit.org/blog/17/the-new-form-controls-checkbox-2/ Open Source Web Browser Engine Thu, 19 Nov 2015 00:24:30 +0000 hourly 1 https://wordpress.org/?v=6.5.2 By: inyang https://webkit.org/blog/17/the-new-form-controls-checkbox-2/comment-page-1/#comment-90 Thu, 11 Aug 2005 03:10:29 +0000 http://webkit.opendarwin.org/blog/?p=17#comment-90 Is there a reference list that describes all the ‘-khtml-‘ properties and the values they accept? I looked on google and this site and Apple’s developer site, but I couldn’t find anything.

]]>
By: hyatt https://webkit.org/blog/17/the-new-form-controls-checkbox-2/comment-page-1/#comment-84 Tue, 09 Aug 2005 21:23:13 +0000 http://webkit.opendarwin.org/blog/?p=17#comment-84 Grant, the solution is generalized. If you use -khtml-user-select: none, then the object will be unselectable as in Firefox and also won’t clear the selection when you mouse down on it. I added a new value, -khtml-user-select: element, that I’m using for controls, images, and links, that denotes that the object is selectable if the selection doesn’t start inside it, but otherwise it behaves like none.

I’m probably going to change the name of this value to ‘ignore’ instead of ‘element’ though to better reflect what it does.

]]>
By: Grant Husbands https://webkit.org/blog/17/the-new-form-controls-checkbox-2/comment-page-1/#comment-83 Mon, 08 Aug 2005 14:31:27 +0000 http://webkit.opendarwin.org/blog/?p=17#comment-83 For the users of contenteditable divs and other similar selection-dependent technologies, wouldn’t a more generalised solution be better? Ideally, WebKit/Safari would support similar behaviour to that of IE and Firefox, rather than having special cases in which the selection is not affected.

In IE, you can add unselectable=”on” to almost any HTML element, which makes all clicks within that not affect the current selection. In Firefox, you can use the styles {-moz-user-focus: ignore; -moz-user-input: disabled; -moz-user-select: none} for the same effect. I’ve used some of them to good effect, before.

]]>
By: Roger Johansson https://webkit.org/blog/17/the-new-form-controls-checkbox-2/comment-page-1/#comment-77 Fri, 05 Aug 2005 10:05:53 +0000 http://webkit.opendarwin.org/blog/?p=17#comment-77 Another vote for a user preference (which probably should be on by default) to disallow author styling of form controls. I’ve always found Safari’s refusal to let authors use CSS to alter the look of its form controls very good for usability. As for looking out of place, that may be the case on some sites, but at least the user will always (not taking faking it with images into account) know for sure what is a form control and what isn’t.

]]>
By: John Siracusa https://webkit.org/blog/17/the-new-form-controls-checkbox-2/comment-page-1/#comment-70 Wed, 03 Aug 2005 18:10:49 +0000 http://webkit.opendarwin.org/blog/?p=17#comment-70 chucker: I meant on the web page itself. If you go to the URL I posted with your web browser (not RSS reader), the author’s name does not appear on the page. I got to the URL through an RSS reader, but I guess it’s the same URL that you get if you go through a web browser.

]]>
By: Sören Nils 'chucker' Kuklau https://webkit.org/blog/17/the-new-form-controls-checkbox-2/comment-page-1/#comment-69 Wed, 03 Aug 2005 17:18:59 +0000 http://webkit.opendarwin.org/blog/?p=17#comment-69 John, the RSS2 and Atom feeds both have authors for each entry. The RSS 0.92 feed doesn’t.

]]>
By: John Siracusa https://webkit.org/blog/17/the-new-form-controls-checkbox-2/comment-page-1/#comment-65 Wed, 03 Aug 2005 11:56:43 +0000 http://webkit.opendarwin.org/blog/?p=17#comment-65 Any progress on making “label” tags activate their associated controls? Firefox does it, and it’s nice. (There’s a bug in RADAR about it somewhere. Mine was marked as a dup, IIRC.)

]]>
By: John Siracusa https://webkit.org/blog/17/the-new-form-controls-checkbox-2/comment-page-1/#comment-64 Wed, 03 Aug 2005 11:54:11 +0000 http://webkit.opendarwin.org/blog/?p=17#comment-64 Who is “I”? When coming from an RSS reader, the author name is not visible. Example:

http://webkit.opendarwin.org/blog/?p=17

The name “hyatt” is nowhere on the page. It’d be nice if the “posted by…” line that appears on the main page also appeared on individual posts.

]]>
By: kalleboo https://webkit.org/blog/17/the-new-form-controls-checkbox-2/comment-page-1/#comment-63 Wed, 03 Aug 2005 09:54:40 +0000 http://webkit.opendarwin.org/blog/?p=17#comment-63 I’m very happy for this, the standard Aqua widgets look so out of place on some pages.

]]>
By: Ian K. https://webkit.org/blog/17/the-new-form-controls-checkbox-2/comment-page-1/#comment-62 Wed, 03 Aug 2005 09:14:35 +0000 http://webkit.opendarwin.org/blog/?p=17#comment-62 Custom, renderer-specific CSS properties? Is that not the path of evil?

]]>