From: Alexandra Yates <alexandra.yates at linux.intel.com>
To: powertop@lists.01.org
Subject: Re: [Powertop] [Announce] v2.5-rc1
Date: Tue, 22 Oct 2013 11:05:25 -0700 [thread overview]
Message-ID: <56990.10.24.5.48.1382465125.squirrel@linux.intel.com> (raw)
In-Reply-To: 20131022085631.GB2286@swordfish
[-- Attachment #1: Type: text/plain, Size: 1756 bytes --]
> On (10/21/13 17:21), Yates, Alexandra wrote:
>> IE 8.0 up to 10 doesn't display the menu bar nor any of the links.
>
> please test the following patch.
>
> ------8<-----8<--------
>
> IE up to v10 does not support object classList. workaround
> by manual className manipulation.
>
> Reported-by: Alexandra Yates <alexandra.yates(a)intel.com>
> Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky(a)gmail.com>
>
> ---
>
> src/powertop.css | 16 +++++++++++-----
> 1 file changed, 11 insertions(+), 5 deletions(-)
>
> diff --git a/src/powertop.css b/src/powertop.css
> index 6d43e07..c58d757 100644
> --- a/src/powertop.css
> +++ b/src/powertop.css
> @@ -17,14 +17,20 @@ var powertop = {
> },
> cadd: function(idx, c){
> var el = document.getElementById(idx);
> - if (el)
> - el.classList.add(c);
> -
> + if (el) {
> + var cn = el.className;
> + cn += ' ' + c;
> + el.className = cn;
> + }
> },
> crm: function(id, c){
> var el = document.getElementById(id);
> - if (el)
> - el.classList.remove(c);
> + if (el) {
> + var cn = el.className
> + while (cn.indexOf(' ' + c) != -1)
> + cn = cn.replace(' ' + c,'');
> + el.className = cn;
> + }
> },
> newbutton: function(id, txt) {
> var x = document.createElement('div');
>
> _______________________________________________
> PowerTop mailing list
> PowerTop(a)lists.01.org
> https://lists.01.org/mailman/listinfo/powertop
>
This change enables the menu links and mouse over, but the font and the
button background are all black, I don't think the css are working here.
I will send you the image to your email that way you get to see it.
Thank you,
Alexandra.
next reply other threads:[~2013-10-22 18:05 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-22 18:05 Alexandra Yates [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-11-27 7:46 [Powertop] [Announce] v2.5-rc1 Sergey Senozhatsky
2013-11-26 21:58 Marc MERLIN
2013-11-26 19:36 Sergey Senozhatsky
2013-11-02 16:09 Marc MERLIN
2013-10-23 19:06 Sergey Senozhatsky
2013-10-23 18:32 Alexandra Yates
2013-10-23 18:00 Sergey Senozhatsky
2013-10-23 16:58 Sergey Senozhatsky
2013-10-23 16:31 Sergey Senozhatsky
2013-10-23 16:12 Alexandra Yates
2013-10-22 21:44 Sergey Senozhatsky
2013-10-22 8:56 Sergey Senozhatsky
2013-10-22 8:16 Sergey Senozhatsky
2013-10-21 17:21 Yates, Alexandra
2013-10-19 7:00 Sergey Senozhatsky
2013-10-19 5:17 Daniel Kahn Gillmor
2013-10-18 22:33 Yates, Alexandra
2013-10-18 18:09 Kristen Carlson Accardi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56990.10.24.5.48.1382465125.squirrel@linux.intel.com \
--to=powertop@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.